mcserver/.travis.yml

31 lines
769 B
YAML
Raw Normal View History

2013-12-19 12:07:58 -08:00
language: cpp
compiler:
- gcc
- clang
2014-05-10 05:03:36 -07:00
before_install:
2014-05-10 05:18:40 -07:00
- if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi
2014-05-10 05:03:36 -07:00
2013-12-19 12:42:40 -08:00
# Build MCServer
2014-05-10 05:12:01 -07:00
script: ./CIbuild.sh
2014-05-10 05:03:36 -07:00
after_success:
2014-05-10 05:12:01 -07:00
- ./uploadCoverage.sh
env:
2014-03-10 13:52:13 -07: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 12:42:40 -08:00
2014-05-10 05:03:36 -07:00
matrix:
include:
- compiler: gcc
env: TRAVIS_MCSERVER_BUILD_TYPE=COVERAGE MCSERVER_PATH=./MCServer
2014-05-10 05:03:36 -07:00
2013-12-19 12:42:40 -08:00
# Notification Settings
notifications:
email:
on_success: change
on_failure: always