2014-07-12 16:35:55 +03:00
|
|
|
language: cpp
|
2016-10-11 23:52:47 +02:00
|
|
|
os:
|
2017-06-12 17:17:10 +02:00
|
|
|
- linux
|
|
|
|
- osx
|
2016-10-11 23:52:47 +02:00
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
2014-07-12 20:20:02 +03:00
|
|
|
env:
|
2016-11-24 20:33:06 +02:00
|
|
|
matrix:
|
|
|
|
- ignore=this
|
2016-11-24 20:05:58 +02:00
|
|
|
global:
|
2017-06-12 17:17:10 +02:00
|
|
|
- secure: NMg+qtQB4DIZ/KqlDeIn3K7A7Ydksdpnbv6Ha9n4bSSA0AT8wlPwbHXvQmiR8qYs6cnz4fyY6NVcBe7X3bdR8jWyPNAS0l0QByqG12q3dBpEtNNn0X5u/GS3wHse5+ObNAF9a83+xACTQj2UdxqHgJ3LFGzdBpQt3kLsc8NDnn8=
|
2014-07-13 11:44:39 +03:00
|
|
|
|
2014-07-12 19:50:48 +03:00
|
|
|
matrix:
|
2014-07-12 20:20:02 +03:00
|
|
|
exclude:
|
2017-06-12 17:17:10 +02:00
|
|
|
- env: ignore=this
|
2014-07-12 19:50:48 +03:00
|
|
|
include:
|
2017-06-12 17:17:10 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
env: VCMI_PLATFORM='linux' REAL_CC=clang-3.6 REAL_CXX=clang++-3.6 PACKAGE=clang-3.6
|
2017-07-09 18:31:21 +02:00
|
|
|
SUPPORT=libstdc++-4.8-dev
|
2017-06-12 17:17:10 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
env: VCMI_PLATFORM='linux' REAL_CC=clang-3.4 REAL_CXX=clang++-3.4 PACKAGE=clang-3.4
|
2017-07-09 18:31:21 +02:00
|
|
|
SUPPORT=libstdc++-4.8-dev
|
2017-06-12 17:17:10 +02:00
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
env: VCMI_PLATFORM='linux' REAL_CC=gcc-4.8 REAL_CXX=g++-4.8 PACKAGE=g++-4.8 SUPPORT=
|
|
|
|
- os: linux
|
2017-07-18 21:18:37 +02:00
|
|
|
env: VCMI_PLATFORM='mxe' MXE_TARGET=i686-w64-mingw32.shared VCMI_CMAKE_FLAGS='-DENABLE_TEST=0'
|
2017-06-12 17:17:10 +02:00
|
|
|
sudo: required
|
|
|
|
- os: osx
|
Entities redesign and a few ERM features
* Made most Handlers derived from CHandlerBase and moved service API there.
* Declared existing Entity APIs.
* Added basic script context caching
* Started Lua script module
* Started Lua spell effect API
* Started script state persistence
* Started battle info callback binding
* CommitPackage removed
* Extracted spells::Caster to own header; Expanded Spell API.
* implemented !!MC:S, !!FU:E, !!FU:P, !!MA, !!VR:H, !!VR:C
* !!BU:C, !!BU:E, !!BU:G, !!BU:M implemented
* Allow use of "MC:S@varName@" to declare normal variable (technically v-variable with string key)
* Re-enabled VERM macros.
* !?GM0 added
* !?TM implemented
* Added !!MF:N
* Started !?OB, !!BM, !!HE, !!OW, !!UN
* Added basic support of w-variables
* Added support for ERM indirect variables
* Made !?FU regular trigger
* !!re (ERA loop receiver) implemented
* Fixed ERM receivers with zero args.
2018-03-17 16:58:30 +02:00
|
|
|
env: VCMI_PLATFORM='mac' VCMI_CMAKE_FLAGS='-DENABLE_TEST=0'
|
2014-07-13 11:44:39 +03:00
|
|
|
|
2016-11-24 20:05:58 +02:00
|
|
|
addons:
|
2018-05-26 15:19:23 +02:00
|
|
|
apt:
|
|
|
|
update: true
|
2016-11-24 20:05:58 +02:00
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: vcmi/vcmi
|
|
|
|
description: Build submitted via Travis CI
|
2016-11-25 02:24:14 +02:00
|
|
|
notification_email: coverity@arseniyshestakov.com
|
2017-06-12 17:17:10 +02:00
|
|
|
build_command_prepend: cov-configure --compiler clang-3.6 --comptype clangcc &&
|
|
|
|
cov-configure --comptype clangcxx --compiler clang++-3.6 && cmake -G Ninja ..
|
2022-09-06 10:06:05 +02:00
|
|
|
-DCMAKE_BUILD_TYPE=DEBUG -DENABLE_LAUNCHER=0 -DENABLE_EDITOR=0
|
2017-06-09 14:06:31 +02:00
|
|
|
build_command: ninja -j 3
|
2016-11-24 20:05:58 +02:00
|
|
|
branch_pattern: coverity_scan
|
|
|
|
|
2014-07-12 16:35:55 +03:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
2017-06-12 17:17:10 +02:00
|
|
|
- noreply@vcmi.eu
|
2014-07-12 16:35:55 +03:00
|
|
|
on_success: change
|
2014-07-14 17:01:44 +03:00
|
|
|
on_failure: always
|
2017-06-09 14:06:31 +02:00
|
|
|
slack:
|
2017-06-12 17:17:10 +02:00
|
|
|
secure: KHXFe14FFKtw5mErWbj730+utqy7i/3AUobWfAMAGvWI5sJYlhbBU+KvvCoD2SlRQg3mQqgwVw8NBJF1Mffs7WcRmrFFFmuMqZxFLAfKBd3T0CxWpAGfnfNgDmlfV4OfEgQWk1pakEPOymhxbbmLUuCjykZDuTcioxAk0UAHDwY=
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- test $TRAVIS_BRANCH != coverity_scan -o ${TRAVIS_JOB_NUMBER##*.} = 1 || exit 0
|
|
|
|
- . $TRAVIS_BUILD_DIR/CI/$VCMI_PLATFORM/before_install.sh
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2017-06-14 12:45:46 +02:00
|
|
|
- if [[ $TRAVIS_BRANCH != 'coverity_scan' ]];
|
|
|
|
then
|
|
|
|
source $TRAVIS_BUILD_DIR/CI/get_package_name.sh;
|
2017-12-26 00:41:26 +02:00
|
|
|
if [[ $VCMI_PLATFORM == 'mxe' ]];
|
|
|
|
then
|
2017-12-30 14:00:57 +02:00
|
|
|
/usr/lib/mxe/usr/bin/i686-w64-mingw32.shared-cmake -G Ninja .. $VCMI_CMAKE_FLAGS
|
2017-06-14 12:45:46 +02:00
|
|
|
-DPACKAGE_NAME_SUFFIX:STRING="$VCMI_PACKAGE_NAME_SUFFIX"
|
|
|
|
-DPACKAGE_FILE_NAME:STRING="$VCMI_PACKAGE_FILE_NAME";
|
2017-12-26 00:41:26 +02:00
|
|
|
else
|
2017-12-30 14:00:57 +02:00
|
|
|
cmake -G Ninja .. $VCMI_CMAKE_FLAGS
|
2017-12-26 00:41:26 +02:00
|
|
|
-DPACKAGE_NAME_SUFFIX:STRING="$VCMI_PACKAGE_NAME_SUFFIX"
|
|
|
|
-DPACKAGE_FILE_NAME:STRING="$VCMI_PACKAGE_FILE_NAME";
|
|
|
|
fi
|
|
|
|
|
2017-06-14 12:45:46 +02:00
|
|
|
fi
|
|
|
|
|
2017-06-12 17:17:10 +02:00
|
|
|
script:
|
|
|
|
- test $TRAVIS_BRANCH != coverity_scan || exit 0
|
2017-12-30 14:00:57 +02:00
|
|
|
- ninja
|
2017-06-12 17:17:10 +02:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- test $TRAVIS_BRANCH != coverity_scan || exit 0
|
|
|
|
- . $TRAVIS_BUILD_DIR/CI/$VCMI_PLATFORM/upload_package.sh
|