summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-10 21:56:16 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-10 21:56:16 +0100
commitf5f7c6b38bcccb49735a95589b8c68093f09453f (patch)
tree75843fb49954627ac143e78eb2568df348847711 /.travis.yml
parentMerge branch 'master' into Werror (diff)
parentMerge pull request #767 from worktycho/envmatrix (diff)
downloadcuberite-f5f7c6b38bcccb49735a95589b8c68093f09453f.tar
cuberite-f5f7c6b38bcccb49735a95589b8c68093f09453f.tar.gz
cuberite-f5f7c6b38bcccb49735a95589b8c68093f09453f.tar.bz2
cuberite-f5f7c6b38bcccb49735a95589b8c68093f09453f.tar.lz
cuberite-f5f7c6b38bcccb49735a95589b8c68093f09453f.tar.xz
cuberite-f5f7c6b38bcccb49735a95589b8c68093f09453f.tar.zst
cuberite-f5f7c6b38bcccb49735a95589b8c68093f09453f.zip
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c6537cf47..0ab25ae3b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,13 @@ compiler:
- gcc
- clang
# Build MCServer
-script: cmake . -DCMAKE_BUILD_TYPE=RELEASE -DBUILD_TOOLS=1 -DSELF_TEST=1 && make -j 2 && cd MCServer/ && (echo stop | ./MCServer)
+script: cmake . -DBUILD_TOOLS=1 -DSELF_TEST=1 && make -j 2 && cd MCServer/ && (echo stop | $MCSERVER_PATH)
+
+env:
+ - 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
# Notification Settings
notifications: