Skip to content

Commit

Permalink
Update .gitignore and .travis.yml files from master.
Browse files Browse the repository at this point in the history
Also fix unward build.
  • Loading branch information
rbehrends committed Sep 19, 2019
1 parent d55bd2b commit 7eb6ab0
Show file tree
Hide file tree
Showing 3 changed files with 109 additions and 109 deletions.
13 changes: 9 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,16 @@ doc/gapmacrodoc.idx
/libgap.la
.libs/

/tst/testlibgap/api
/tst/testlibgap/basic
/tst/testlibgap/basic.out
/tst/testlibgap/wscreate
/tst/testlibgap/wscreate.out
/tst/testlibgap/wsload
/tst/testlibgap/wsload.out
/tst/testlibgap/*.out

/unward/
/tst/testkernel/dstruct
/tst/testkernel/*.out

# emacs backup and lock files
*~
\#*\#
.\#*
203 changes: 99 additions & 104 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ matrix:
# 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 puts some vital
# computing into code that is only run when debugging is on.
# - env: TEST_SUITES="docomp testtravis" ABI=32 CONFIGFLAGS=""
# addons:
# apt_packages:
# - gcc-multilib
# - g++-multilib
# - libgmp-dev:i386
# - libreadline-dev:i386
- env: TEST_SUITES="docomp testtravis" ABI=32 CONFIGFLAGS=""
addons:
apt_packages:
- gcc-multilib
- g++-multilib
- 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
Expand All @@ -48,103 +48,98 @@ matrix:
# `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=
# addons:
# apt_packages:
# - gcc-multilib
# - g++-multilib
# - libgmp-dev
# - libgmp-dev:i386 # for anupq
# - libreadline-dev
# - libboost-dev # for NormalizInterface
# - libmpfr-dev # for float
# - libmpfi0-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=
# addons:
# apt_packages:
# - gcc-multilib
# - g++-multilib
# - libgmp-dev:i386
# - libreadline-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
# - libmpc-dev:i386 # for float
# #- libfplll-dev:i386 # for float
# - pari-gp:i386 # for alnuth
# - libzmq3-dev:i386 # for ZeroMQInterface
#
# # OS X builds: since those are slow and limited on Travis, we only run testinstall
# - env: TEST_SUITES="docomp testinstall"
# os: osx
# compiler: clang
#
# # test creating the manual
# - env: TEST_SUITES=makemanuals
# addons:
# apt_packages:
# - texlive-latex-base
# - texlive-latex-recommended
# - texlive-latex-extra
# - texlive-extra-utils
# - texlive-fonts-recommended
# - texlive-fonts-extra
#
# # run tests contained in the manual
# - env: TEST_SUITES=testmanuals
#
# # run bugfix regression tests
# # Also Turn on '--enable-memory-checking' to make sure GAP compiles with the flag enabled.
# # We do not actually test the memory checking, as this slows down GAP too much.
# - env: TEST_SUITES=testbugfix CONFIGFLAGS="--enable-memory-checking"
#
# # 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.
# #
# # The '--enable-valgrind' checks that GAP builds and runs correctly when
# # compiled with valgrind support. We do not actually run any tests using
# # valgrind, as it is too slow.
# #
# # Also change the compiler to GCC 4.7, to ensure we stay compatible
# # with that older version.
# - env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=64 BUILDDIR=build CONFIGFLAGS="--enable-valgrind CC=gcc-4.7 CXX=g++-4.7"
# addons:
# apt_packages:
# - gcc-4.7
# - g++-4.7
# - valgrind
#
# # 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:
# apt_packages:
# - gcc-multilib
# - g++-multilib
# #- libgmp-dev:i386 # do not install GMP, to test that GAP can build its own
# - libreadline-dev:i386
#
# # test error reporting and compiling as well as libgap
# - env: TEST_SUITES="testspecial test-compile testlibgap"
#
# # test Julia integration
# - env: TEST_SUITES="testinstall" JULIA=yes CONFIGFLAGS="--disable-Werror"
#
# allow_failures:
# # allow Julia integration to fail for now, until random GC crashes are resolved
# # note that this must match the entry for Julia above exactly
# - env: TEST_SUITES="testinstall" JULIA=yes CONFIGFLAGS="--disable-Werror"
- env: TEST_SUITES="testpackages testinstall-loadall" ABI=64 CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=
addons:
apt_packages:
- gcc-multilib
- g++-multilib
- libgmp-dev
- libgmp-dev:i386 # for anupq
- libreadline-dev
- libboost-dev # for NormalizInterface
- libmpfr-dev # for float
- libmpfi0-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=
addons:
apt_packages:
- gcc-multilib
- g++-multilib
- libgmp-dev:i386
- libreadline-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
- libmpc-dev:i386 # for float
#- libfplll-dev:i386 # for float
- pari-gp:i386 # for alnuth
- libzmq3-dev:i386 # for ZeroMQInterface

# OS X builds: since those are slow and limited on Travis, we only run testinstall
- env: TEST_SUITES="docomp testinstall"
os: osx
compiler: clang

# test creating the manual
- env: TEST_SUITES=makemanuals
addons:
apt_packages:
- texlive-latex-base
- texlive-latex-recommended
- texlive-latex-extra
- texlive-extra-utils
- texlive-fonts-recommended
- texlive-fonts-extra

# run tests contained in the manual
- env: TEST_SUITES=testmanuals

# run bugfix regression tests
# Also Turn on '--enable-memory-checking' to make sure GAP compiles with the flag enabled.
# We do not actually test the memory checking, as this slows down GAP too much.
- env: TEST_SUITES=testbugfix CONFIGFLAGS="--enable-memory-checking"

# 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.
#
# The '--enable-valgrind' checks that GAP builds and runs correctly when
# compiled with valgrind support. We do not actually run any tests using
# valgrind, as it is too slow.
#
# Also change the compiler to GCC 4.7, to ensure we stay compatible
# with that older version.
- env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=64 BUILDDIR=build CONFIGFLAGS="--enable-valgrind CC=gcc-4.7 CXX=g++-4.7"
addons:
apt_packages:
- gcc-4.7
- g++-4.7
- valgrind

# 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:
apt_packages:
- gcc-multilib
- g++-multilib
#- libgmp-dev:i386 # do not install GMP, to test that GAP can build its own
- libreadline-dev:i386

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

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

script:
- set -e
Expand Down
2 changes: 1 addition & 1 deletion etc/ci-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ if [[ $HPCGAP = yes ]]
then
git clone https://github.com/rbehrends/unward
cd unward
./configure
./configure CC=gcc CXX=g++ CFLAGS=-O2 CXXFLAGS=-O2
make
cd ..
unward/bin/unward --inplace src
Expand Down

0 comments on commit 7eb6ab0

Please sign in to comment.