summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-03-10 21:54:17 +0100
committerMattes D <github@xoft.cz>2014-03-10 21:54:17 +0100
commitb3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e (patch)
treea8ef890a148219ec0a7a5cb0785fbca8fbdcd290 /.travis.yml
parentRevert "Fixed some warnings" (diff)
parentPrepended Travis to env vars (diff)
downloadcuberite-b3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e.tar
cuberite-b3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e.tar.gz
cuberite-b3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e.tar.bz2
cuberite-b3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e.tar.lz
cuberite-b3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e.tar.xz
cuberite-b3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e.tar.zst
cuberite-b3d0e878b3e85af30a0fe1f4d94cd3aa34c3306e.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: