Skip to content
This repository was archived by the owner on Nov 26, 2020. It is now read-only.

Commit cbff6f5

Browse files
committed
Switch to Xenial for Python 3.7, but disable installing GCC 6 on it for now.
1 parent 5646ed2 commit cbff6f5

File tree

1 file changed

+244
-29
lines changed

1 file changed

+244
-29
lines changed

.travis.yml

Lines changed: 244 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
dist: trusty
21
sudo: required # has ~2x RAM: https://docs.travis-ci.com/user/reference/overview/#Virtualization-environments
32
group: travis_latest
43
language: python
@@ -7,78 +6,294 @@ matrix:
76
fast_finish: true
87
include:
98
- python: "2.7"
9+
dist: trusty
1010
env: >
1111
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
1212
--build-with-valgrind --enable-oom-breakpoint"
13+
addons:
14+
apt:
15+
update: true
16+
config:
17+
retries: true
18+
sources:
19+
- ubuntu-toolchain-r-test
20+
packages:
21+
- autoconf2.13
22+
- cargo
23+
- expect-dev # unbuffer requires this
24+
- g++-6
25+
- g++-6-multilib
26+
- gcc-6
27+
- gcc-6-multilib
28+
- gdb
29+
- lib32z1 # needed by 32-bit builds
30+
- libc6-dbg # needed by Valgrind
31+
- valgrind
1332
- python: "2.7"
33+
dist: trusty
1434
env: >
1535
BUILD="--disable-debug --disable-profiling --without-intl-api"
36+
addons:
37+
apt:
38+
update: true
39+
config:
40+
retries: true
41+
sources:
42+
- ubuntu-toolchain-r-test
43+
packages:
44+
- autoconf2.13
45+
- cargo
46+
- expect-dev # unbuffer requires this
47+
- g++-6
48+
- g++-6-multilib
49+
- gcc-6
50+
- gcc-6-multilib
51+
- gdb
52+
- lib32z1 # needed by 32-bit builds
53+
- libc6-dbg # needed by Valgrind
54+
- valgrind
1655
- python: "3.5"
56+
dist: trusty
1757
env: >
1858
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
1959
--build-with-valgrind --enable-oom-breakpoint"
60+
addons:
61+
apt:
62+
update: true
63+
config:
64+
retries: true
65+
sources:
66+
- ubuntu-toolchain-r-test
67+
packages:
68+
- autoconf2.13
69+
- cargo
70+
- expect-dev # unbuffer requires this
71+
- g++-6
72+
- g++-6-multilib
73+
- gcc-6
74+
- gcc-6-multilib
75+
- gdb
76+
- lib32z1 # needed by 32-bit builds
77+
- libc6-dbg # needed by Valgrind
78+
- valgrind
2079
- python: "3.5"
80+
dist: trusty
2181
env: >
2282
BUILD="--disable-debug --disable-profiling --without-intl-api"
83+
addons:
84+
apt:
85+
update: true
86+
config:
87+
retries: true
88+
sources:
89+
- ubuntu-toolchain-r-test
90+
packages:
91+
- autoconf2.13
92+
- cargo
93+
- expect-dev # unbuffer requires this
94+
- g++-6
95+
- g++-6-multilib
96+
- gcc-6
97+
- gcc-6-multilib
98+
- gdb
99+
- lib32z1 # needed by 32-bit builds
100+
- libc6-dbg # needed by Valgrind
101+
- valgrind
23102
- python: "3.6"
103+
dist: trusty
24104
env: >
25105
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
26106
--build-with-valgrind --enable-oom-breakpoint"
107+
addons:
108+
apt:
109+
update: true
110+
config:
111+
retries: true
112+
sources:
113+
- ubuntu-toolchain-r-test
114+
packages:
115+
- autoconf2.13
116+
- cargo
117+
- expect-dev # unbuffer requires this
118+
- g++-6
119+
- g++-6-multilib
120+
- gcc-6
121+
- gcc-6-multilib
122+
- gdb
123+
- lib32z1 # needed by 32-bit builds
124+
- libc6-dbg # needed by Valgrind
125+
- valgrind
27126
- python: "3.6"
127+
dist: trusty
28128
env: >
29129
BUILD="--disable-debug --disable-profiling --without-intl-api"
30-
- python: "3.7-dev"
130+
addons:
131+
apt:
132+
update: true
133+
config:
134+
retries: true
135+
sources:
136+
- ubuntu-toolchain-r-test
137+
packages:
138+
- autoconf2.13
139+
- cargo
140+
- expect-dev # unbuffer requires this
141+
- g++-6
142+
- g++-6-multilib
143+
- gcc-6
144+
- gcc-6-multilib
145+
- gdb
146+
- lib32z1 # needed by 32-bit builds
147+
- libc6-dbg # needed by Valgrind
148+
- valgrind
149+
- python: "3.7"
150+
dist: xenial
31151
env: >
32152
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
33153
--build-with-valgrind --enable-oom-breakpoint"
34-
- python: "3.7-dev"
154+
addons:
155+
apt:
156+
update: true
157+
config:
158+
retries: true
159+
# sources:
160+
# - ubuntu-toolchain-r-test
161+
packages:
162+
- autoconf2.13
163+
- cargo
164+
- expect-dev # unbuffer requires this
165+
# Travis Xenial does not have ubuntu-toolchain-r-test yet: https://git.io/fNfj9
166+
# - g++-6
167+
# - g++-6-multilib
168+
# - gcc-6
169+
# - gcc-6-multilib
170+
- gdb
171+
- lib32z1 # needed by 32-bit builds
172+
- libc6-dbg # needed by Valgrind
173+
- valgrind
174+
- python: "3.7"
175+
dist: xenial
35176
env: >
36177
BUILD="--disable-debug --disable-profiling --without-intl-api"
178+
addons:
179+
apt:
180+
update: true
181+
config:
182+
retries: true
183+
# sources:
184+
# - ubuntu-toolchain-r-test
185+
packages:
186+
- autoconf2.13
187+
- cargo
188+
- expect-dev # unbuffer requires this
189+
# Travis Xenial does not have ubuntu-toolchain-r-test yet: https://git.io/fNfj9
190+
# - g++-6
191+
# - g++-6-multilib
192+
# - gcc-6
193+
# - gcc-6-multilib
194+
- gdb
195+
- lib32z1 # needed by 32-bit builds
196+
- libc6-dbg # needed by Valgrind
197+
- valgrind
37198
# Sanity checks, so only run debug builds
38199
- python: "nightly"
200+
dist: trusty
39201
env: >
40202
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
41203
--build-with-valgrind --enable-oom-breakpoint"
204+
addons:
205+
apt:
206+
update: true
207+
config:
208+
retries: true
209+
sources:
210+
- ubuntu-toolchain-r-test
211+
packages:
212+
- autoconf2.13
213+
- cargo
214+
- expect-dev # unbuffer requires this
215+
- g++-6
216+
- g++-6-multilib
217+
- gcc-6
218+
- gcc-6-multilib
219+
- gdb
220+
- lib32z1 # needed by 32-bit builds
221+
- libc6-dbg # needed by Valgrind
222+
- valgrind
42223
- python: "pypy3.5-5.10.1"
224+
dist: trusty
43225
env: >
44226
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
45227
--build-with-valgrind --enable-oom-breakpoint"
228+
addons:
229+
apt:
230+
update: true
231+
config:
232+
retries: true
233+
sources:
234+
- ubuntu-toolchain-r-test
235+
packages:
236+
- autoconf2.13
237+
- cargo
238+
- expect-dev # unbuffer requires this
239+
- g++-6
240+
- g++-6-multilib
241+
- gcc-6
242+
- gcc-6-multilib
243+
- gdb
244+
- lib32z1 # needed by 32-bit builds
245+
- libc6-dbg # needed by Valgrind
246+
- valgrind
46247
allow_failures:
47-
- python: "3.7-dev"
48-
env: >
49-
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
50-
--build-with-valgrind --enable-oom-breakpoint"
51-
- python: "3.7-dev"
52-
env: >
53-
BUILD="--disable-debug --disable-profiling --without-intl-api"
54248
# Sanity checks, so only run debug builds
55249
- python: "nightly"
250+
dist: trusty
56251
env: >
57252
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
58253
--build-with-valgrind --enable-oom-breakpoint"
254+
addons:
255+
apt:
256+
update: true
257+
config:
258+
retries: true
259+
sources:
260+
- ubuntu-toolchain-r-test
261+
packages:
262+
- autoconf2.13
263+
- cargo
264+
- expect-dev # unbuffer requires this
265+
- g++-6
266+
- g++-6-multilib
267+
- gcc-6
268+
- gcc-6-multilib
269+
- gdb
270+
- lib32z1 # needed by 32-bit builds
271+
- libc6-dbg # needed by Valgrind
272+
- valgrind
59273
- python: "pypy3.5-5.10.1"
274+
dist: trusty
60275
env: >
61276
BUILD="--enable-debug --disable-optimize --enable-more-deterministic
62277
--build-with-valgrind --enable-oom-breakpoint"
63-
addons:
64-
apt:
65-
update: true
66-
config:
67-
retries: true
68-
sources:
69-
- ubuntu-toolchain-r-test
70-
packages:
71-
- autoconf2.13
72-
- cargo
73-
- expect-dev # unbuffer requires this
74-
- g++-6
75-
- g++-6-multilib
76-
- gcc-6
77-
- gcc-6-multilib
78-
- gdb
79-
- lib32z1 # needed by 32-bit builds
80-
- libc6-dbg # needed by Valgrind
81-
- valgrind
278+
addons:
279+
apt:
280+
update: true
281+
config:
282+
retries: true
283+
sources:
284+
- ubuntu-toolchain-r-test
285+
packages:
286+
- autoconf2.13
287+
- cargo
288+
- expect-dev # unbuffer requires this
289+
- g++-6
290+
- g++-6-multilib
291+
- gcc-6
292+
- gcc-6-multilib
293+
- gdb
294+
- lib32z1 # needed by 32-bit builds
295+
- libc6-dbg # needed by Valgrind
296+
- valgrind
82297
before_install:
83298
# Get the required version of Python 3 into a temporary directory, but only for Python 2.7 Travis mode for now
84299
# This is for compile-related tests to run successfully

0 commit comments

Comments
 (0)