@@ -31,15 +31,15 @@ branches:
31
31
only :
32
32
- master
33
33
- develop
34
- - /^release\/.*$/
34
+ - /^release/
35
+ - /^travis/
35
36
36
- # Additional installs are Valgrind for the memory-tests
37
- # and gcc-multilib for the compilation of the different
38
- # architectures.
37
+ # Additional installs: Valgrind for memory tests.
39
38
install :
40
39
- sudo apt-get update -qq
41
40
- sudo apt-get install valgrind
42
- - sudo apt-get install gcc-multilib
41
+ - apt-cache search gcc | grep '^gcc-[0-9\.]* '
42
+ - apt-cache search clang | grep compiler
43
43
44
44
# The language is C and it will load the respective dependencies
45
45
language : c
@@ -66,60 +66,90 @@ matrix:
66
66
apt :
67
67
packages :
68
68
- astyle
69
- sudo : required
70
69
71
70
# GCC for the 32-bit architecture (no valgrind yet)
72
- - env : BUILDOPTIONS='--with-cc=gcc --with-m32'
71
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --with-m32'
73
72
addons :
74
73
apt :
75
74
packages :
76
75
- libc6-dev-i386
77
- sudo : required
76
+ - gcc-multilib
78
77
79
78
# clang for the 32-bit architecture (no valgrind yet)
80
- - env : BUILDOPTIONS='--with-cc=clang --with-m32'
79
+ - env : BUILDOPTIONS='--with-cc=clang-7 --with-m32'
81
80
addons :
82
81
apt :
83
82
packages :
84
83
- libc6-dev-i386
85
- sudo : required
84
+ - gcc-multilib
86
85
87
86
# GCC for the x64_32 architecture (32-bit longs and 32-bit pointers)
88
87
# TODO: Probably not possible to run anything in x32 in Travis
89
88
# but needs to be checked to be sure.
90
- - env : BUILDOPTIONS='--with-cc=gcc --with-mx32'
89
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --with-mx32'
91
90
addons :
92
91
apt :
93
92
packages :
94
93
- libc6-dev-x32
95
- sudo : required
94
+ - gcc-multilib
96
95
97
96
# GCC for the x86-64 architecture (64-bit longs and 64-bit pointers)
98
- - env : BUILDOPTIONS='--with-cc=gcc --with-m64 --with-valgrind'
97
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --with-m64 --with-valgrind'
98
+ - env : BUILDOPTIONS='--with-cc=gcc-4.7 --with-m64 --with-valgrind'
99
+ addons :
100
+ apt :
101
+ packages :
102
+ - gcc-4.7
103
+ - env : BUILDOPTIONS='--with-cc=gcc-4.8 --with-m64 --with-valgrind'
104
+ addons :
105
+ apt :
106
+ packages :
107
+ - gcc-4.8
108
+ - env : BUILDOPTIONS='--with-cc=gcc-4.9 --with-m64 --with-valgrind'
109
+ addons :
110
+ apt :
111
+ packages :
112
+ - gcc-4.9
113
+
99
114
# clang for x86-64 architecture (64-bit longs and 64-bit pointers)
100
- - env : BUILDOPTIONS='--with-cc=clang --with-m64 --with-valgrind'
115
+ - env : CONV_WARNINGS=1 BUILDOPTIONS='--with-cc=clang-7 --with-m64 --with-valgrind'
116
+ - env : BUILDOPTIONS='--with-cc=clang-6.0 --with-m64 --with-valgrind'
117
+ addons :
118
+ apt :
119
+ packages :
120
+ - clang-6.0
121
+ - env : BUILDOPTIONS='--with-cc=clang-5.0 --with-m64 --with-valgrind'
122
+ addons :
123
+ apt :
124
+ packages :
125
+ - clang-5.0
126
+ - env : BUILDOPTIONS='--with-cc=clang-4.0 --with-m64 --with-valgrind'
127
+ addons :
128
+ apt :
129
+ packages :
130
+ - clang-4.0
101
131
102
132
# GCC for the x86-64 architecture with restricted limb sizes
103
133
# formerly started with the option "--with-low-mp" to testme.sh
104
134
# but testing all three in one run took to long and timed out.
105
- - env : BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_8BIT --with-valgrind'
106
- - env : BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_16BIT --with-valgrind'
107
- - env : BUILDOPTIONS='--with-cc=gcc --cflags=-DMP_32BIT --with-valgrind'
135
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_8BIT --with-valgrind'
136
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_16BIT --with-valgrind'
137
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --cflags=-DMP_32BIT --with-valgrind'
108
138
109
139
# clang for the x86-64 architecture with restricted limb sizes
110
- - env : BUILDOPTIONS='--with-cc=clang --cflags=-DMP_8BIT --with-valgrind'
111
- - env : BUILDOPTIONS='--with-cc=clang --cflags=-DMP_16BIT --with-valgrind'
112
- - env : BUILDOPTIONS='--with-cc=clang --cflags=-DMP_32BIT --with-valgrind'
140
+ - env : BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_8BIT --with-valgrind'
141
+ - env : BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_16BIT --with-valgrind'
142
+ - env : BUILDOPTIONS='--with-cc=clang-7 --cflags=-DMP_32BIT --with-valgrind'
113
143
114
144
# GCC for the x86-64 architecture testing against a different Bigint-implementation
115
145
# with 333333 different inputs.
116
- - env : BUILDOPTIONS='--with-cc=gcc --test-vs-mtest=333333 --with-valgrind'
117
- - env : BUILDOPTIONS='--with-cc=clang --test-vs-mtest=333333 --with-valgrind'
146
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --with-valgrind'
147
+ - env : BUILDOPTIONS='--with-cc=clang-7 --test-vs-mtest=333333 --with-valgrind'
118
148
119
149
# clang for the x86-64 architecture testing against a different Bigint-implementation
120
150
# with a better random source.
121
- - env : BUILDOPTIONS='--with-cc=gcc --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
122
- - env : BUILDOPTIONS='--with-cc=clang --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
151
+ - env : BUILDOPTIONS='--with-cc=gcc-5 --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
152
+ - env : BUILDOPTIONS='--with-cc=clang-7 --test-vs-mtest=333333 --mtest-real-rand --with-valgrind'
123
153
124
154
# Notifications go to
125
155
# An email address is also possible.
@@ -132,5 +162,4 @@ notifications:
132
162
# seem to be the max and 20 the default if travis_wait is called without
133
163
# any options.
134
164
script :
135
- - ./testme.sh ${BUILDOPTIONS}
136
-
165
+ - ./testme.sh ${BUILDOPTIONS}
0 commit comments