1
0
cuberite-2a/.travis.yml

41 lines
956 B
YAML
Raw Normal View History

2013-12-19 15:07:58 -05:00
language: cpp
compiler: clang
2014-05-10 08:03:36 -04:00
before_install:
2015-05-17 04:32:56 -04:00
# - if [ "$TRAVIS_MCSERVER_BUILD_TYPE" == "COVERAGE" ]; then sudo pip install cpp_coveralls; fi
2014-05-10 08:03:36 -04:00
2014-11-23 09:21:44 -05:00
# g++4.8
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
2014-11-23 09:21:44 -05:00
install:
# g++4.8 and clang
- sudo apt-get install -qq g++-4.8
# lua, needed for style checking and possibly later on for bindings generation
- sudo apt-get install -qq lua5.1
2014-11-23 09:21:44 -05:00
# g++4.8
2014-12-13 16:33:16 -05:00
- if [ "$CXX" == "g++" ]; then export CXX="g++-4.8"; export CC="gcc-4.8"; fi
2014-11-23 09:21:44 -05: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
2015-05-17 04:32:56 -04:00
#after_success:
# - ./uploadCoverage.sh
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
2013-12-19 15:42:40 -05:00
2015-05-17 04:32:56 -04:00
#matrix:
# include:
# - compiler: gcc
# 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