summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-05-10 14:03:36 +0200
committerTycho <work.tycho+git@gmail.com>2014-05-10 14:03:36 +0200
commit77395b37390ecf23218659925c61e0a9b44d8476 (patch)
tree7daf8cc9e6d1ba91602f34f516a2a4191ec13fe0 /.travis.yml
parentMerge branch 'master' into chunksparsing/structs (diff)
downloadcuberite-77395b37390ecf23218659925c61e0a9b44d8476.tar
cuberite-77395b37390ecf23218659925c61e0a9b44d8476.tar.gz
cuberite-77395b37390ecf23218659925c61e0a9b44d8476.tar.bz2
cuberite-77395b37390ecf23218659925c61e0a9b44d8476.tar.lz
cuberite-77395b37390ecf23218659925c61e0a9b44d8476.tar.xz
cuberite-77395b37390ecf23218659925c61e0a9b44d8476.tar.zst
cuberite-77395b37390ecf23218659925c61e0a9b44d8476.zip
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0ab25ae3b..3bf2acc43 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,8 +2,15 @@ language: cpp
compiler:
- gcc
- clang
+
+before_install:
+ - if [TRAVIS_MCSERVER_BUILD_TYPE == "COVERAGE"] then sudo pip install cpp_coveralls fi
+
# Build MCServer
-script: cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1 && make -j 2 && cd MCServer/ && (echo stop | $MCSERVER_PATH)
+script: CIbuild.sh
+
+after_success:
+ - uploadCoverage.sh
env:
- TRAVIS_MCSERVER_BUILD_TYPE=RELEASE MCSERVER_PATH=./MCServer
@@ -11,6 +18,11 @@ env:
- 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
+matrix:
+ include:
+ - compiler: gcc
+ env: TRAVIS_MCSERVER_BUILD_TYPE=COVERAGE MCSERVER_PATH=./MCServer_debug
+
# Notification Settings
notifications:
email: