2013-12-19 15:07:58 -05:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
- clang
|
2014-05-10 08:03:36 -04:00
|
|
|
|
|
|
|
before_install:
|
2014-05-10 08:18:40 -04:00
|
|
|
- if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi
|
2014-05-10 08:03:36 -04:00
|
|
|
|
2013-12-19 15:42:40 -05:00
|
|
|
# Build MCServer
|
2014-05-10 08:12:01 -04:00
|
|
|
script: ./CIbuild.sh
|
2014-05-10 08:03:36 -04:00
|
|
|
|
|
|
|
after_success:
|
2014-05-10 08:12:01 -04:00
|
|
|
- ./uploadCoverage.sh
|
2014-03-07 14:26:36 -05:00
|
|
|
|
|
|
|
env:
|
2014-03-10 16:52:13 -04:00
|
|
|
- TRAVIS_MCSERVER_BUILD_TYPE=RELEASE MCSERVER_PATH=./MCServer
|
|
|
|
- TRAVIS_MCSERVER_BUILD_TYPE=DEBUG MCSERVER_PATH=./MCServer_debug
|
|
|
|
- TRAVIS_MCSERVER_BUILD_TYPE=RELEASE TRAVIS_MCSERVER_FORCE32=1 MCSERVER_PATH=./MCServer
|
|
|
|
- TRAVIS_MCSERVER_BUILD_TYPE=DEBUG TRAVIS_MCSERVER_FORCE32=1 MCSERVER_PATH=./MCServer_debug
|
2013-12-19 15:42:40 -05:00
|
|
|
|
2014-05-10 08:03:36 -04:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- compiler: gcc
|
2014-05-10 13:07:50 -04:00
|
|
|
env: TRAVIS_MCSERVER_BUILD_TYPE=COVERAGE MCSERVER_PATH=./MCServer
|
2014-05-10 08:03:36 -04:00
|
|
|
|
2013-12-19 15:42:40 -05:00
|
|
|
# Notification Settings
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|