mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-21 20:20:33 +01:00
Makes travis build the testing configuration
This commit is contained in:
+4
-2
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user