Skip to content

Commit

Permalink
Travis: reorder jobs a bit, tweak comments
Browse files Browse the repository at this point in the history
We try to order Travis jobs roughly by their total running time, with the
quickest jobs coming at the end. This ensures that the last few jobs of
a Travis build end at about the same time, while right now, often testbugfix
is the last running job for several minutes.
  • Loading branch information
fingolfin committed Nov 20, 2018
1 parent abfc1d2 commit d87ce06
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,17 @@ addons:
- libgmp-dev
- libreadline-dev

#
# The following test jobs are roughly sorted by duration, from longest to
# shortest.
#
matrix:
include:
# general test suite (subsumes testinstall tests, too)
- env: TEST_SUITES="docomp testtravis"

# the same in 32 bit mode, and with debugging turned off, to (a) make it
# a lot faster, and (b) to make sure nobody accidentally put some vital
# a lot faster, and (b) to make sure nobody accidentally puts some vital
# computing into code that is only run when debugging is on.
- env: TEST_SUITES="docomp testtravis" ABI=32 CONFIGFLAGS=""
addons:
Expand All @@ -29,6 +34,9 @@ matrix:
- libgmp-dev:i386
- libreadline-dev:i386

# HPC-GAP builds (for efficiency, we don't build all combinations)
- env: TEST_SUITES="docomp testtravis" ABI=64 HPCGAP=yes

# compiler packages and run package tests
# don't use --coverage in CFLAGS, it causes the weird `atexit` bug in
# digraphs and other kernel extensions using C++ code (due to GCC's
Expand All @@ -50,6 +58,7 @@ matrix:
- pari-gp # for alnuth
- libzmq3-dev # for ZeroMQInterface

# compiler packages and run package tests in 32 bit mode
- env: TEST_SUITES=testpackages CFLAGS="-O2" LDFLAGS= ABI=32
addons:
apt_packages:
Expand Down Expand Up @@ -87,16 +96,20 @@ matrix:
# run tests contained in the manual
- env: TEST_SUITES=testmanuals

# HPC-GAP builds (for efficiency, we don't build all combinations)
- env: TEST_SUITES="docomp testtravis" ABI=64 HPCGAP=yes
# run bugfix regression tests
- env: TEST_SUITES=testbugfix

# test Julia integration
- env: TEST_SUITES="testinstall" JULIA=yes

# out of tree builds -- these are mainly done to verify that the build
# system work in this scenario. Since we don't expect the test results to
# vary compared to the in-tree builds, we turn off coverage reporting by
# setting NO_COVERAGE=1; this has the extra benefit of also running the
# tests at least once with the ReproducibleBehaviour option turned off.
- env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=64 BUILDDIR=build
# for 32bit mode, also turn off debugging (see elsewhere in this file for

# same as above, but in 32 bit mode, also turn off debugging (see elsewhere in this file for
# an explanation)
- env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=32 BUILDDIR=build CONFIGFLAGS=""
addons:
Expand All @@ -106,13 +119,7 @@ matrix:
#- libgmp-dev:i386 # do not install GMP, to test that GAP can build its own
- libreadline-dev:i386

# test Julia integration
- env: TEST_SUITES="testinstall" JULIA=yes

# run bugfix regression tests
- env: TEST_SUITES=testbugfix

# test error reporting and compiling (quickest job in this test suite)
# test error reporting and compiling
- env: TEST_SUITES="testspecial test-compile"

# test libgap
Expand Down

0 comments on commit d87ce06

Please sign in to comment.