Skip to content

Commit 64a9d81

Browse files
fingolfinChrisJefferson
authored andcommitted
Travis: move libgap job into "testspecial test-compile" job
In a sample run of the libgap job that took 222 seconds (3 mins 42 secs), just 11 seconds were spent on the test, the rest on downloading and compiling stuff, handling coverage etc. That job spends just 11 seconds on testing, and the remaining
1 parent 70b60bf commit 64a9d81

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.travis.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,8 @@ matrix:
122122
#- libgmp-dev:i386 # do not install GMP, to test that GAP can build its own
123123
- libreadline-dev:i386
124124

125-
# test error reporting and compiling
126-
- env: TEST_SUITES="testspecial test-compile"
127-
128-
# test libgap
129-
- env: TEST_SUITES="testlibgap"
125+
# test error reporting and compiling as well as libgap
126+
- env: TEST_SUITES="testspecial test-compile testlibgap"
130127

131128
script:
132129
- set -e

etc/ci.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ mkdir -p $COVDIR
2828

2929
for TEST_SUITE in $TEST_SUITES
3030
do
31+
# restore current directory before each test suite
32+
cd "$BUILDDIR"
33+
3134
case $TEST_SUITE in
3235
testspecial | test-compile)
3336
cd $SRCDIR/tst/$TEST_SUITE

0 commit comments

Comments
 (0)