Makes travis less shit.

This commit is contained in:
MrStonedOne
2017-01-19 22:04:32 -08:00
parent 3f7ec5b8b2
commit bdceba9d71
8 changed files with 62 additions and 12 deletions

View File

@@ -10,13 +10,8 @@ env:
- DM_MAPFILE="" - DM_MAPFILE=""
matrix: matrix:
- BUILD_TOOLS=true - BUILD_TOOLS=true
- DM_MAPFILE="tgstation2"
- DM_MAPFILE="metastation"
- DM_MAPFILE="birdstation"
- DM_MAPFILE="pubbystation"
- DM_MAPFILE="templates" - DM_MAPFILE="templates"
- DM_MAPFILE="omegastation" - DM_MAPFILE="loadallmaps"
- DM_MAPFILE="deltastation"
cache: cache:
directories: directories:

View File

@@ -13,6 +13,7 @@ A small map intended for lowpop(40 players and less).
#define MINETYPE "lavaland" #define MINETYPE "lavaland"
#include "map_files\BirdStation\BirdStation.dmm" #include "map_files\BirdStation\BirdStation.dmm"
#ifndef TRAVIS_MASS_MAP_BUILD
#include "map_files\generic\z2.dmm" #include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm" #include "map_files\generic\z3.dmm"
#include "map_files\generic\z4.dmm" #include "map_files\generic\z4.dmm"
@@ -29,7 +30,7 @@ A small map intended for lowpop(40 players and less).
#define MAP_NAME "BirdboatStation" #define MAP_NAME "BirdboatStation"
#define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG #define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG
#endif
#if !defined(MAP_OVERRIDE_FILES) #if !defined(MAP_OVERRIDE_FILES)
#define MAP_OVERRIDE_FILES #define MAP_OVERRIDE_FILES
#include "map_files\BirdStation\job\job_changes.dm" #include "map_files\BirdStation\job\job_changes.dm"

View File

@@ -5,6 +5,7 @@
#define MINETYPE "lavaland" #define MINETYPE "lavaland"
#include "map_files\DeltaStation\DeltaStation2.dmm" #include "map_files\DeltaStation\DeltaStation2.dmm"
#ifndef TRAVIS_MASS_MAP_BUILD
#include "map_files\generic\z2.dmm" #include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm" #include "map_files\generic\z3.dmm"
#include "map_files\generic\z4.dmm" #include "map_files\generic\z4.dmm"
@@ -21,7 +22,7 @@
#define MAP_NAME "Delta Station" #define MAP_NAME "Delta Station"
#define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG #define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG
#endif
#elif !defined(MAP_OVERRIDE) #elif !defined(MAP_OVERRIDE)
#warn a map has already been included, deltastation. #warn a map has already been included, deltastation.

49
_maps/loadallmaps.dm Normal file
View File

@@ -0,0 +1,49 @@
#define TRAVIS_MASS_MAP_BUILD
#define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG
#include "birdstation.dm"
#ifdef MAP_OVERRIDE_FILES
#undef MAP_OVERRIDE_FILES
#endif
#include "deltastation.dm"
#ifdef MAP_OVERRIDE_FILES
#undef MAP_OVERRIDE_FILES
#endif
#include "metastation.dm"
#ifdef MAP_OVERRIDE_FILES
#undef MAP_OVERRIDE_FILES
#endif
#include "omegastation.dm"
#ifdef MAP_OVERRIDE_FILES
#undef MAP_OVERRIDE_FILES
#endif
#include "pubbystation.dm"
#ifdef MAP_OVERRIDE_FILES
#undef MAP_OVERRIDE_FILES
#endif
#include "tgstation2.dm"
#ifdef MAP_OVERRIDE_FILES
#undef MAP_OVERRIDE_FILES
#endif
#include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm"
#include "map_files\generic\z4.dmm"
#include "map_files\generic\lavaland.dmm"
#include "map_files\generic\z6.dmm"
#include "map_files\generic\z7.dmm"
#include "map_files\generic\z8.dmm"
#include "map_files\generic\z9.dmm"
#include "map_files\generic\z10.dmm"
#include "map_files\generic\z11.dmm"
#undef TRAVIS_MASS_MAP_BUILD
#include "runtimestation.dm"
#define BYOND_WHY_YOU_NO_ALLOW_INCLUDE_LAST_LINE //because byond fails to compile if the last thing in a file is an include.

View File

@@ -5,6 +5,7 @@
#define MINETYPE "lavaland" #define MINETYPE "lavaland"
#include "map_files\MetaStation\MetaStation.dmm" #include "map_files\MetaStation\MetaStation.dmm"
#ifndef TRAVIS_MASS_MAP_BUILD
#include "map_files\generic\z2.dmm" #include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm" #include "map_files\generic\z3.dmm"
#include "map_files\generic\z4.dmm" #include "map_files\generic\z4.dmm"
@@ -21,7 +22,7 @@
#define MAP_NAME "MetaStation" #define MAP_NAME "MetaStation"
#define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG #define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG
#endif
#elif !defined(MAP_OVERRIDE) #elif !defined(MAP_OVERRIDE)
#warn a map has already been included, ignoring MetaStation. #warn a map has already been included, ignoring MetaStation.

View File

@@ -5,6 +5,7 @@
#define MINETYPE "lavaland" #define MINETYPE "lavaland"
#include "map_files\OmegaStation\OmegaStation.dmm" #include "map_files\OmegaStation\OmegaStation.dmm"
#ifndef TRAVIS_MASS_MAP_BUILD
#include "map_files\generic\z2.dmm" #include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm" #include "map_files\generic\z3.dmm"
#include "map_files\generic\z4.dmm" #include "map_files\generic\z4.dmm"
@@ -21,7 +22,7 @@
#define MAP_NAME "OmegaStation" #define MAP_NAME "OmegaStation"
#define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG #define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG
#endif
#if !defined(MAP_OVERRIDE_FILES) #if !defined(MAP_OVERRIDE_FILES)
#define MAP_OVERRIDE_FILES #define MAP_OVERRIDE_FILES
#include "map_files\OmegaStation\job\job_changes.dm" #include "map_files\OmegaStation\job\job_changes.dm"

View File

@@ -5,6 +5,7 @@
#define MINETYPE "lavaland" #define MINETYPE "lavaland"
#include "map_files\PubbyStation\PubbyStation.dmm" #include "map_files\PubbyStation\PubbyStation.dmm"
#ifndef TRAVIS_MASS_MAP_BUILD
#include "map_files\generic\z2.dmm" #include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm" #include "map_files\generic\z3.dmm"
#include "map_files\generic\z4.dmm" #include "map_files\generic\z4.dmm"
@@ -21,7 +22,7 @@
#define MAP_NAME "PubbyStation" #define MAP_NAME "PubbyStation"
#define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG #define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG
#endif
#if !defined(MAP_OVERRIDE_FILES) #if !defined(MAP_OVERRIDE_FILES)
#define MAP_OVERRIDE_FILES #define MAP_OVERRIDE_FILES
#include "map_files\PubbyStation\job\job_changes.dm" #include "map_files\PubbyStation\job\job_changes.dm"

View File

@@ -5,6 +5,7 @@
#define MINETYPE "lavaland" #define MINETYPE "lavaland"
#include "map_files\TgStation\tgstation.2.1.3.dmm" #include "map_files\TgStation\tgstation.2.1.3.dmm"
#ifndef TRAVIS_MASS_MAP_BUILD
#include "map_files\generic\z2.dmm" #include "map_files\generic\z2.dmm"
#include "map_files\generic\z3.dmm" #include "map_files\generic\z3.dmm"
#include "map_files\generic\z4.dmm" #include "map_files\generic\z4.dmm"
@@ -21,7 +22,7 @@
#define MAP_NAME "Box Station" #define MAP_NAME "Box Station"
#define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG #define MAP_TRANSITION_CONFIG DEFAULT_MAP_TRANSITION_CONFIG
#endif
#elif !defined(MAP_OVERRIDE) #elif !defined(MAP_OVERRIDE)
#warn a map has already been included, ignoring /tg/station 2. #warn a map has already been included, ignoring /tg/station 2.