Skip to content

Commit 5d744e4

Browse files
committed
update CI to bionic
1 parent bee1e99 commit 5d744e4

File tree

1 file changed

+31
-19
lines changed

1 file changed

+31
-19
lines changed

.travis.yml

Lines changed: 31 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
# #
66
#############################################################################
77

8-
# Run the tests based on Ubuntu 16.04
9-
dist: xenial
8+
# The Ubuntu version we're going to use to run the tests
9+
dist: bionic
1010

1111
# Compilation failures are in gcc_errors_*.log
1212
# Failed tests in test_*.log
@@ -80,21 +80,18 @@ matrix:
8080
- libtool-bin
8181

8282
# Run always with valgrind (no sanitizer, but debug info)
83-
- env: COMPILE_DEBUG=1 BUILDOPTIONS='--with-cc=gcc-4.9 --with-m64 --with-valgrind'
84-
addons:
85-
apt:
86-
packages:
87-
- gcc-4.9
83+
- env: COMPILE_DEBUG=1 BUILDOPTIONS='--with-cc=gcc --with-m64 --with-valgrind'
8884

8985
# Shared library build
9086
- env: COMPILE_LTO=1 BUILDOPTIONS='--with-cc=gcc --make-option=-f --make-option=makefile.shared'
9187
addons:
9288
apt:
9389
packages:
90+
- gcc-8
9491
- libtool-bin
9592

9693
# GCC for the 32-bit architecture (no valgrind)
97-
- env: BUILDOPTIONS='--with-cc=gcc-5 --with-m32'
94+
- env: BUILDOPTIONS='--with-cc=gcc --with-m32'
9895
addons:
9996
apt:
10097
packages:
@@ -122,9 +119,9 @@ matrix:
122119

123120
# GCC for the x86-64 architecture testing against a different Bigint-implementation
124121
# with 333333 different inputs.
125-
#- env: BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --with-travis-valgrind'
122+
#- env: BUILDOPTIONS='--with-cc=gcc --test-vs-mtest=333333 --with-travis-valgrind'
126123
# ... and a better random source.
127-
- env: BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --mtest-real-rand --with-travis-valgrind'
124+
- env: BUILDOPTIONS='--with-cc=gcc --test-vs-mtest=333333 --mtest-real-rand --with-travis-valgrind'
128125

129126
# clang for the x86-64 architecture testing against a different Bigint-implementation
130127
# with 333333 different inputs
@@ -135,20 +132,20 @@ matrix:
135132
# GCC for the x64_32 architecture (32-bit longs and 32-bit pointers)
136133
# TODO: Probably not possible to run anything in x32 in Travis
137134
# but needs to be checked to be sure.
138-
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc-5 --with-mx32'
135+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc --with-mx32'
139136
addons:
140137
apt:
141138
packages:
142139
- libc6-dev-x32
143140
- gcc-multilib
144141

145142
# GCC for the x86-64 architecture (64-bit longs and 64-bit pointers)
146-
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc-5 --with-m64 --with-travis-valgrind'
147-
- env: BUILDOPTIONS='--with-cc=gcc-4.7 --with-m64 --with-travis-valgrind'
143+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc --with-m64 --with-travis-valgrind'
144+
- env: BUILDOPTIONS='--with-cc=gcc-5 --with-m64 --with-travis-valgrind'
148145
addons:
149146
apt:
150147
packages:
151-
- gcc-4.7
148+
- gcc-5
152149
- env: BUILDOPTIONS='--with-cc=gcc-4.8 --with-m64 --with-travis-valgrind'
153150
addons:
154151
apt:
@@ -161,6 +158,21 @@ matrix:
161158
- env: SANITIZER=1 CONV_WARNINGS=strict BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_USE_MEMOPS --with-m64 --with-travis-valgrind'
162159
- env: SANITIZER=1 CONV_WARNINGS=strict BUILDOPTIONS='--with-cc=clang-7 --c89 --with-m64 --with-travis-valgrind'
163160
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-travis-valgrind --cflags=-DMP_PREC=MP_MIN_PREC'
161+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-10 --with-m64 --with-travis-valgrind'
162+
addons:
163+
apt:
164+
packages:
165+
- clang-10
166+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-9 --with-m64 --with-travis-valgrind'
167+
addons:
168+
apt:
169+
packages:
170+
- clang-9
171+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-8 --with-m64 --with-travis-valgrind'
172+
addons:
173+
apt:
174+
packages:
175+
- clang-8
164176
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-6.0 --with-m64 --with-travis-valgrind'
165177
addons:
166178
apt:
@@ -178,18 +190,18 @@ matrix:
178190
- clang-4.0
179191

180192
# Link time optimization
181-
- env: SANITIZER=1 COMPILE_LTO=1 BUILDOPTIONS='--with-cc=gcc-5 --with-m64 --with-travis-valgrind'
193+
- env: SANITIZER=1 COMPILE_LTO=1 BUILDOPTIONS='--with-cc=gcc --with-m64 --with-travis-valgrind'
182194
#- env: SANITIZER=1 COMPILE_LTO=1 BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-travis-valgrind'
183195

184196
# GCC for the x86-64 architecture with restricted limb sizes
185197
# formerly started with the option "--with-low-mp" to testme.sh
186198
# but testing all three in one run took to long and timed out.
187-
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_16BIT --with-travis-valgrind'
188-
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_32BIT --with-travis-valgrind'
199+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_16BIT --with-travis-valgrind'
200+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_32BIT --with-travis-valgrind'
189201

190202
# clang for the x86-64 architecture with restricted limb sizes
191-
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_16BIT --with-travis-valgrind'
192-
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_32BIT --with-travis-valgrind'
203+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang --cflags=-DMP_16BIT --with-travis-valgrind'
204+
- env: SANITIZER=1 BUILDOPTIONS='--with-cc=clang --cflags=-DMP_32BIT --with-travis-valgrind'
193205

194206
# Notifications go to
195207
# An email address is also possible.

0 commit comments

Comments
 (0)