Skip to content

Commit

Permalink
Update Travis settings
Browse files Browse the repository at this point in the history
- install zlib dev headers, so we don't have to compile it each time
- ... but keep one test that doesn't install gmp, readline, zlib, to ensure we
  can build our own (for gmp, zlib) resp. work without it (readline)
- update comments for testpackages jobs
- in the 32bit testpackages job, also run testinstall-loadall
- in both testpackages job, re-enable coverage reporting (it should work
  again thanks to using bionic, and passing --coverage in the CXXFLAGS)
- drop 32bit GMP for anupq -- anupq doesn't force 32bit builds anymore
  • Loading branch information
fingolfin authored and ChrisJefferson committed Oct 5, 2019
1 parent 0b39654 commit 8492717
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ addons:
apt_packages:
- libgmp-dev
- libreadline-dev
- zlib1g-dev
- python
- python-pip
- perl
Expand All @@ -38,45 +39,47 @@ matrix:
- g++-multilib
- libgmp-dev:i386
- libreadline-dev:i386
- zlib1g-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
# `profiler_trace.h` calling `atexit`; but that fails in loadable modules
# for technical reasons)
# also don't use --enable-debug to prevent the tests from taking too long
- env: TEST_SUITES="testpackages testinstall-loadall" ABI=64 CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=
# compile packages and run GAP tests
# don't use --enable-debug to prevent the tests from taking too long
- env: TEST_SUITES="testpackages testinstall-loadall" ABI=64
dist: bionic # avoid 'atexit' linker error in packages using C++ code
addons:
apt_packages:
- gcc-multilib
- g++-multilib
- libgmp-dev
- libgmp-dev:i386 # for anupq
- libreadline-dev
- zlib1g-dev
- libboost-dev # for NormalizInterface
- libmpfr-dev # for float
- libmpfi0-dev # for float
- libmpfi-dev # for float
- libmpc-dev # for float
#- libfplll-dev # for float
- pari-gp # for alnuth
- libzmq3-dev # for ZeroMQInterface

# compiler packages and run package tests in 32 bit mode
- env: TEST_SUITES=testpackages ABI=32 CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=
# compile packages and run GAP tests in 32 bit mode
# it seems profiling is having trouble collecting the coverage data here, so we
# use NO_COVERAGE=1
- env: TEST_SUITES="testpackages testinstall-loadall" ABI=32 NO_COVERAGE=1
dist: bionic # avoid 'atexit' linker error in packages using C++ code
addons:
apt_packages:
- gcc-multilib
- g++-multilib
- libgmp-dev:i386
- libreadline-dev:i386
- zlib1g-dev:i386
- libncurses5-dev:i386 # for Browse
- libcurl4-openssl-dev:i386 # for curlInterface
- libboost-dev:i386 # for NormalizInterface
- libmpfr-dev:i386 # for float
- libmpfi0-dev:i386 # for float
- libmpfi-dev:i386 # for float
- libmpc-dev:i386 # for float
#- libfplll-dev:i386 # for float
- pari-gp:i386 # for alnuth
Expand Down Expand Up @@ -133,7 +136,8 @@ matrix:
- gcc-multilib
- g++-multilib
#- libgmp-dev:i386 # do not install GMP, to test that GAP can build its own
- libreadline-dev:i386
#- libreadline-dev:i386 # do not install readline, to test that GAP can be compiled and run without it
#- zlib1g-dev::i386 # do not install zlib, to test that GAP can build its own

# test error reporting and compiling as well as libgap
- env: TEST_SUITES="testspecial test-compile testlibgap testkernel"
Expand Down

0 comments on commit 8492717

Please sign in to comment.