summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTycho <work.tycho+git@gmail.com>2014-03-07 20:26:36 +0100
committerTycho <work.tycho+git@gmail.com>2014-03-07 20:26:36 +0100
commit53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79 (patch)
tree746d2386a5e8e528a1adeeb1f9024a15e6f516f5 /.travis.yml
parentAdded support to overide CMake build type with env vars (diff)
downloadcuberite-53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79.tar
cuberite-53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79.tar.gz
cuberite-53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79.tar.bz2
cuberite-53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79.tar.lz
cuberite-53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79.tar.xz
cuberite-53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79.tar.zst
cuberite-53fe82eaf85dc3bcd2cfdc12ffb2266e10f91e79.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..a12ca55e0 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)
+
+env:
+ - MCSERVER_BUILD_TYPE=RELEASE
+ - MCSERVER_BUILD_TYPE=DEBUG
+ - MCSERVER_BUILD_TYPE=RELEASE MCSERVER_FORCE32=1
+ - MCSERVER_BUILD_TYPE=DEBUG MCSERVER_FORCE32=1
# Notification Settings
notifications: