1
0
Fork 0

Added travis support for multiple build types

This commit is contained in:
Tycho 2014-03-07 11:26:36 -08:00
parent 72697cfb4f
commit 53fe82eaf8
1 changed files with 7 additions and 1 deletions

View File

@ -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: