Makes travis build the testing configuration

This commit is contained in:
Cyberboss
2017-01-31 15:13:53 -05:00
parent b8102e276d
commit afc02ef43b
3 changed files with 13 additions and 3 deletions
+4 -2
View File
@@ -7,10 +7,12 @@ env:
- BYOND_MINOR="1346"
- NODE_VERSION="4"
- BUILD_TOOLS=false
- DM_MAPFILE=""
- BUILD_TESTING=false
- DM_MAPFILE="loadallmaps"
matrix:
- BUILD_TOOLS=true
- DM_MAPFILE="loadallmaps"
- BUILD_TESTING=true
- BUILD_TESTING=false
cache:
directories:
+4
View File
@@ -50,6 +50,10 @@
#warn compiling in TESTING mode. testing() debug messages will be visible.
#endif
#ifdef TRAVISTESTING
#define TESTING
#endif
//Update this whenever you need to take advantage of more recent byond features
#define MIN_COMPILER_VERSION 510
#if DM_VERSION < MIN_COMPILER_VERSION
+5 -1
View File
@@ -7,5 +7,9 @@ shopt -s globstar
if [ "$BUILD_TOOLS" = false ]; then
(! grep 'step_[xy]' _maps/**/*.dmm)
source $HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/byondsetup
tools/travis/dm.sh -DTRAVISBUILDING -M${DM_MAPFILE} tgstation.dme
if [ "$BUILD_TESTING" = true ]; then
tools/travis/dm.sh -DTRAVISBUILDING -M${DM_MAPFILE} tgstation.dme
else
tools/travis/dm.sh -DTRAVISBUILDING -DTRAVISTESTING -Mruntimestation tgstation.dme
fi;
fi;