forked from gap-system/gap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
128 lines (112 loc) · 4.52 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
# We want Ubuntu 14.04 "Trust" instead of 12.04 "Precise" to get newer
# and less buggy gcov
dist: trusty
language: c
env:
global:
- CFLAGS="--coverage -O2"
- LDFLAGS="--coverage"
# default config flags: enable debug asserts, and treat compiler warnings as errors
- CONFIGFLAGS="--enable-debug --enable-Werror"
addons:
apt_packages:
- libgmp-dev
- libreadline-dev
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
# computing into code that is only run when debugging is on.
- env: TEST_SUITES="docomp testtravis" ABI=32 CONFIGFLAGS="--enable-Werror"
addons:
apt_packages:
- gcc-multilib
- g++-multilib
- libgmp-dev:i386
- libreadline-dev:i386
# compiler packages and run package tests
- env: TEST_SUITES=testpackages
addons:
apt_packages:
- gcc-multilib
- g++-multilib
- libgmp-dev
- libgmp-dev:i386 # for anupq
- libreadline-dev
- libboost-dev # for NormalizInterface
- libmpfr-dev # for float
- libmpfi-dev # for float
- libmpc-dev # for float
#- libfplll-dev # for float
- pari-gp # for alnuth
- libzmq3-dev # for ZeroMQInterface
- env: TEST_SUITES=testpackages ABI=32
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
- libmpfi-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
# OS X builds are currently disabled because Travis has performance problems
# - 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
# HPC-GAP builds (for efficiency, we don't build all combinations)
- env: TEST_SUITES="docomp testtravis" ABI=64 HPCGAP=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
# an explanation)
- env: TEST_SUITES="docomp testinstall" NO_COVERAGE=1 ABI=32 BUILDDIR=build CONFIGFLAGS="--enable-Werror"
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
# run bugfix regression tests
- env: TEST_SUITES=testbugfix
# test error reporting and compiling (quickest job in this test suite)
- env: TEST_SUITES="testspecial test-compile"
# test libgap
- env: TEST_SUITES="testlibgap"
script:
- gcov --version
- bash etc/ci-prepare.sh && bash etc/ci.sh
after_script:
- bash etc/ci-gather-coverage.sh
- bash <(curl -s https://codecov.io/bash)
notifications:
slack:
secure: Nvt9q2kZ/n7HyFeEYt7rvXMBLIR3AqSbQ54UeoU2UFrF+y0vJONChfa0csneyXPApH+objSUgS8ZW3g4gRiKtnO1jzQq9XDe895HtadY4vxYrduRLiwqI4o0k9KFVBPX7uIUXT22qIaAYBFC93m36zQKIAVDFzYuPoQfTWY3Yww=
on_pull_requests: false
on_success: change # default: always
on_failure: change # default: always