Skip to content

Commit 96853e7

Browse files
committed
Build and run monster in most Travis targets.
And remove the separate MONSTER=1 target. The monster-specific parts compile quickly enough that this should be a net win in Travis build time. Also, do not try running monster in Travis TILE=1 builds.
1 parent 809ef38 commit 96853e7

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ env:
1616
- USE_DGAMELAUNCH=1 WEBTILES=1 EXTERNAL_DEFINES=-UTOURNEY
1717
- TILES=1 BUILD_ALL=1
1818
- WEBTILES=1 BUILD_ALL=1
19-
- MONSTER=1
2019
git:
2120
submodules: false
2221
install: perl .travis/deps.pl

.travis/build.pl

+7-9
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,18 @@
1717
$ENV{FORCE_CC} = $ENV{CC};
1818
$ENV{FORCE_CXX} = $ENV{CXX};
1919

20-
if ($ENV{MONSTER}) {
21-
try("make -j2 monster");
22-
# pick something more exciting here possibly?
23-
# or use a variety to touch all the code paths?
24-
try("util/monster/monster Orb Guardian");
25-
}
26-
elsif ($ENV{FULLDEBUG}) {
27-
try("make -j2 debug");
20+
if ($ENV{FULLDEBUG}) {
21+
try("make -j2 debug monster");
2822
}
2923
else {
30-
try("make -j2");
24+
try("make -j2 all monster");
3125
}
3226

3327
if (!$ENV{TILES}) {
28+
# pick something more exciting here possibly?
29+
# or use a variety to touch all the code paths?
30+
try("util/monster/monster Orb Guardian");
31+
3432
if ($ENV{FULLDEBUG}) {
3533
try("make test");
3634
}

0 commit comments

Comments
 (0)