Commit | Line | Data |
d70070c9 |
1 | # Some overall notes on how this works |
2 | # |
3 | # * We smoke using the system provided latest, and custom built "oddball perls" |
4 | # The reason for not having a blanket matrix is to conserve travis resources |
5 | # as a full DBIC depchain isn't cheap |
6 | # |
7 | # * Minimum perl officially supported by DBIC is 5.8.3. This *includes* the |
8 | # basic depchain. On failure either attempt to fix it or bring it to the |
36372426 |
9 | # attention of the maintainer. *DO NOT* disable 5.8 testing - it is here for |
10 | # a very good reason |
d70070c9 |
11 | # |
afeb40d2 |
12 | # the entire run times out after 50 minutes, or after 5 minutes without |
13 | # console output |
d70070c9 |
14 | |
d0b79c51 |
15 | # |
a0acdea0 |
16 | # Smoke all branches except for blocked* and wip/* |
d70070c9 |
17 | branches: |
a0acdea0 |
18 | except: |
19 | - /^wip\// |
20 | - /^blocked/ |
d70070c9 |
21 | |
22 | notifications: |
23 | irc: |
24 | channels: |
25 | - "irc.perl.org#dbic-smoke" |
26 | template: |
27 | - "%{branch}#%{build_number} by %{author}: %{message} (%{build_url})" |
28 | on_success: change |
29 | on_failure: always |
30 | use_notice: true |
31 | |
32 | email: |
2af1c37d |
33 | recipients: |
e5b2f13c |
34 | - CPAN-CI@leporine.io |
2af1c37d |
35 | on_success: change |
4ac234b5 |
36 | on_failure: always |
d70070c9 |
37 | |
36372426 |
38 | addons: |
39 | apt: |
40 | packages: |
41 | - libapp-nopaste-perl |
42 | - net-tools |
003e97c5 |
43 | |
36372426 |
44 | # This is probably a net-loss for setup etc - a bare 'C' will likely fare much better |
915876d7 |
45 | language: perl |
d70070c9 |
46 | |
36372426 |
47 | # Currently not trying osx: https://github.com/travis-ci/travis-ci/issues/2314 |
48 | os: linux |
915876d7 |
49 | |
36372426 |
50 | # The defaults run under the more rapid container infra. The hardware is |
51 | # actually *much* slower, but the jobs start much faster, for more info see |
52 | # https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments |
53 | # Combined with 'fast_finish' this will result in an "uh-oh" email as early |
54 | # as possible |
55 | dist: precise |
56 | sudo: false |
57 | env: CLEANTEST=true |
dea888a6 |
58 | |
36372426 |
59 | perl: |
60 | - "5.8" |
2c649faf |
61 | - "5.10" |
36372426 |
62 | - "5.22-extras" |
cea30127 |
63 | |
d70070c9 |
64 | matrix: |
070b8a0c |
65 | fast_finish: true |
36372426 |
66 | |
d70070c9 |
67 | include: |
36372426 |
68 | |
69 | # Same as the "master matrix" above, frozen under older dist/infrastructure |
70 | # In genereal it is strongly recommended to keep things on the older |
71 | # version indefinitely - there is little value in-depth smoking on |
72 | # more recent software stacks |
73 | - perl: "5.8" |
74 | sudo: required |
75 | dist: precise |
76 | env: |
77 | - CLEANTEST=false |
78 | |
2c649faf |
79 | - perl: "5.10" |
80 | sudo: required |
81 | dist: precise |
82 | env: |
83 | - CLEANTEST=false |
84 | |
36372426 |
85 | - perl: "5.22-extras" |
86 | sudo: required |
87 | dist: precise |
88 | env: |
89 | - CLEANTEST=false |
90 | |
91 | # CLEANTEST of minimum supported with non-tracing poisoning, single thread (hence the sudo) |
92 | - perl: "5.8.3_nt_mb" |
93 | sudo: required |
94 | dist: precise |
d70070c9 |
95 | env: |
36372426 |
96 | - VCPU_USE=1 |
ced296a8 |
97 | - CLEANTEST=true |
e9d552de |
98 | - POISON_ENV=true |
e52712a8 |
99 | - DBIC_TRACE_PROFILE=console_monochrome |
100 | - BREWVER=5.8.3 |
101 | - BREWOPTS="-Dusemorebits" |
915876d7 |
102 | |
e93fb362 |
103 | # Full Test of minimum supported without threads with plain poisoned trace |
36372426 |
104 | - perl: "5.8.3_nt" |
105 | sudo: required |
106 | dist: precise |
107 | # run these under legacy - great simulation of low memory env |
108 | group: legacy |
6d2b5c14 |
109 | env: |
e52712a8 |
110 | - CLEANTEST=false |
111 | - POISON_ENV=true |
e93fb362 |
112 | - DBIC_TRACE=1 |
e52712a8 |
113 | - BREWVER=5.8.3 |
6d2b5c14 |
114 | |
e52712a8 |
115 | # Full Test of minimum supported with threads with non-tracing poisoning |
36372426 |
116 | - perl: "5.8.5_thr" |
117 | sudo: required |
118 | dist: precise |
119 | # run these under legacy - great simulation of low memory env |
120 | group: legacy |
e52712a8 |
121 | env: |
122 | - CLEANTEST=false |
123 | - POISON_ENV=true |
124 | - DBIC_TRACE_PROFILE=console |
125 | - BREWVER=5.8.5 |
126 | - BREWOPTS="-Duseithreads" |
127 | |
128 | # CLEANTEST of solaris-like perl with non-tracing poisoning |
36372426 |
129 | - perl: "5.8.4_nt" |
130 | sudo: false |
131 | dist: precise |
d70070c9 |
132 | env: |
133 | - CLEANTEST=true |
e52712a8 |
134 | - POISON_ENV=true |
135 | - DBIC_TRACE_PROFILE=console |
136 | - BREWVER=5.8.4 |
d70070c9 |
137 | |
7db28735 |
138 | # Full test: this particular perl is quite widespread, single thread |
36372426 |
139 | - perl: "5.8.8_thr" |
7db28735 |
140 | sudo: required |
36372426 |
141 | dist: precise |
24fbd7fb |
142 | group: legacy |
d70070c9 |
143 | env: |
7db28735 |
144 | - VCPU_USE=1 |
145 | - CLEANTEST=false |
e52712a8 |
146 | - BREWVER=5.8.8 |
ee70a1ed |
147 | - BREWOPTS="-Duseithreads" |
d70070c9 |
148 | |
e9d552de |
149 | # CLEANTEST: this is the perl suse ships, with env poisoning |
36372426 |
150 | - perl: "5.10.0_thr_dbg" |
151 | sudo: false |
152 | dist: precise |
ced296a8 |
153 | env: |
e52712a8 |
154 | - CLEANTEST=true |
e9d552de |
155 | - POISON_ENV=true |
e52712a8 |
156 | - BREWVER=5.10.0 |
157 | - BREWOPTS="-DDEBUGGING -Duseithreads" |
ced296a8 |
158 | |
36372426 |
159 | # CLEANTEST: this one is in a number of debian-based LTS (test a sane CPAN.pm, single thread) |
160 | - perl: "5.14.2_thr_mb" |
161 | sudo: required |
162 | dist: precise |
ced296a8 |
163 | env: |
36372426 |
164 | - VCPU_USE=1 |
e52712a8 |
165 | - CLEANTEST=true |
166 | - BREWVER=5.14.2 |
167 | - BREWOPTS="-Duseithreads -Dusemorebits" |
ced296a8 |
168 | |
169 | ### |
eed5492f |
170 | # some permutations of tracing and envvar poisoning |
ced296a8 |
171 | |
36372426 |
172 | - perl: "5.12.3_thr" |
173 | sudo: false |
174 | dist: precise |
7c1a09fc |
175 | env: |
e52712a8 |
176 | - CLEANTEST=true |
e9d552de |
177 | - POISON_ENV=true |
7c1a09fc |
178 | - DBIC_TRACE=1 |
e52712a8 |
179 | - DBIC_MULTICREATE_DEBUG=1 |
180 | - DBIC_STORAGE_RETRY_DEBUG=1 |
7c1a09fc |
181 | - DBIC_TRACE_PROFILE=console |
e52712a8 |
182 | - BREWVER=5.12.3 |
183 | - BREWOPTS="-Duseithreads" |
eba59b7e |
184 | |
36372426 |
185 | - perl: "5.16.3_thr_mb" |
186 | sudo: required |
187 | dist: precise |
eba59b7e |
188 | env: |
e52712a8 |
189 | - CLEANTEST=false |
e9d552de |
190 | - DBIC_TRACE=1 |
90a5b023 |
191 | - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1 |
e52712a8 |
192 | - BREWVER=5.16.3 |
193 | - BREWOPTS="-Duseithreads -Dusemorebits" |
eba59b7e |
194 | |
36372426 |
195 | - perl: "5.18-extras" |
196 | sudo: required |
197 | # explicit new infra spec preparing for a future forced upgrade |
198 | dist: trusty |
eba59b7e |
199 | env: |
200 | - CLEANTEST=false |
e52712a8 |
201 | - POISON_ENV=true |
e9d552de |
202 | - DBIC_TRACE=1 |
eba59b7e |
203 | - DBIC_TRACE_PROFILE=console_monochrome |
0ba0c34f |
204 | - DBICTEST_VIA_REPLICATED=0 |
da9346a0 |
205 | - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1 |
eba59b7e |
206 | |
64d48e19 |
207 | # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO CPERL BELOW |
208 | # allows for easier side-by-side comparison |
3071c14a |
209 | - perl: "5.22.1_thr_qm" |
210 | # explicit new infra spec preparing for a future forced upgrade |
211 | # also need to pull in a sufficiently new compiler for quadmath.h |
212 | sudo: required |
213 | dist: trusty |
214 | env: |
215 | - VCPU_USE=1 |
216 | - CLEANTEST=true |
217 | - POISON_ENV=true |
218 | - MVDT=false |
219 | - BREWVER=5.22.1 |
220 | - BREWOPTS="-Duseithreads -Dusequadmath" |
221 | |
261141ce |
222 | ### |
223 | # Start of the allow_failures block |
224 | |
64d48e19 |
225 | # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO STOCK 5.22.1 ABOVE |
226 | # allows for easier side-by-side comparison |
227 | - perl: "cperl-5.22.1_thr_qm" |
228 | # explicit new infra spec preparing for a future forced upgrade |
229 | # also need to pull in a sufficiently new compiler for quadmath.h |
230 | sudo: required |
231 | dist: trusty |
232 | env: |
233 | # FIXME - work around https://github.com/perl11/cperl/issues/131 |
234 | - VCPU_USE=1 |
235 | - CLEANTEST=true |
236 | - POISON_ENV=true |
237 | - MVDT=false |
238 | - BREWVER=cperl-5.22.1 |
239 | - BREWOPTS="-Duseithreads -Dusequadmath" |
240 | |
e9d552de |
241 | # threaded oldest possible with blead CPAN |
36372426 |
242 | - perl: "devcpan_5.8.1_thr_mb" |
243 | sudo: false |
244 | dist: precise |
4841171c |
245 | env: |
246 | - CLEANTEST=true |
247 | - DEVREL_DEPS=true |
4841171c |
248 | - BREWVER=5.8.1 |
249 | - BREWOPTS="-Duseithreads -Dusemorebits" |
250 | |
e93fb362 |
251 | # oldest possible with blead CPAN with poisoning and plain trace |
36372426 |
252 | - perl: "devcpan_5.8.1" |
253 | sudo: false |
254 | dist: precise |
dd5de10a |
255 | env: |
256 | - CLEANTEST=true |
dd5de10a |
257 | - DEVREL_DEPS=true |
e52712a8 |
258 | - POISON_ENV=true |
e93fb362 |
259 | - DBIC_TRACE=1 |
da9346a0 |
260 | - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1 |
e9d552de |
261 | - BREWVER=5.8.1 |
262 | |
fb30f0c0 |
263 | # 5.8.3 with blead CPAN |
36372426 |
264 | - perl: "devcpan_5.8.3_mb" |
265 | sudo: required |
266 | # explicit new infra spec preparing for a future forced upgrade |
267 | dist: trusty |
fb30f0c0 |
268 | env: |
269 | - CLEANTEST=false |
270 | - DEVREL_DEPS=true |
271 | - BREWVER=5.8.3 |
272 | - BREWOPTS="-Dusemorebits" |
273 | |
e9d552de |
274 | # 5.8.7 threaded with blead CPAN with non-tracing poisoning |
36372426 |
275 | - perl: "devcpan_5.8.7_thr" |
276 | sudo: false |
277 | dist: precise |
e9d552de |
278 | env: |
279 | - CLEANTEST=true |
280 | - DEVREL_DEPS=true |
281 | - POISON_ENV=true |
282 | - BREWVER=5.8.7 |
e52712a8 |
283 | - BREWOPTS="-Duseithreads" |
dd5de10a |
284 | |
ee70a1ed |
285 | # 5.8.8 threaded MB (exercises P5#72210) |
36372426 |
286 | - perl: "devcpan_5.8.8_thr_mb" |
287 | sudo: false |
288 | dist: precise |
ee70a1ed |
289 | env: |
290 | - CLEANTEST=true |
da9346a0 |
291 | - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1 |
ee70a1ed |
292 | - DEVREL_DEPS=true |
293 | - BREWVER=5.8.8 |
294 | - BREWOPTS="-Duseithreads -Dusemorebits" |
295 | |
e6b373aa |
296 | # 5.10.0 threaded with blead CPAN |
36372426 |
297 | - perl: "devcpan_5.10.0_thr_mb" |
298 | sudo: false |
299 | dist: precise |
e6b373aa |
300 | env: |
301 | - CLEANTEST=true |
e6b373aa |
302 | - DEVREL_DEPS=true |
e52712a8 |
303 | - BREWVER=5.10.0 |
304 | - BREWOPTS="-Duseithreads -Dusemorebits" |
e6b373aa |
305 | |
e52712a8 |
306 | # 5.12.1 with blead CPAN |
36372426 |
307 | - perl: "devcpan_5.12.1_thr" |
308 | sudo: false |
309 | dist: precise |
e6b373aa |
310 | env: |
311 | - CLEANTEST=true |
2f51deb1 |
312 | - DEVREL_DEPS=true |
e52712a8 |
313 | - BREWVER=5.12.1 |
314 | - BREWOPTS="-Duseithreads" |
2f51deb1 |
315 | |
36372426 |
316 | # bleadperl with stock CPAN, full depchain test with non-tracing poisoning, single thread |
317 | - perl: "bleadperl" |
318 | sudo: required |
319 | dist: precise |
261141ce |
320 | env: |
36372426 |
321 | - VCPU_USE=1 |
c47de5de |
322 | - CLEANTEST=true |
e52712a8 |
323 | - POISON_ENV=true |
261141ce |
324 | - BREWVER=blead |
325 | |
7db28735 |
326 | # bleadperl with blead CPAN, single thread |
36372426 |
327 | - perl: "devcpan_bleadperl_thr_mb" |
328 | sudo: required |
329 | # explicitly do not specify dist - see what the default does |
2f51deb1 |
330 | env: |
7db28735 |
331 | - VCPU_USE=1 |
2f51deb1 |
332 | - CLEANTEST=false |
2f51deb1 |
333 | - DEVREL_DEPS=true |
e52712a8 |
334 | - BREWVER=blead |
335 | - BREWOPTS="-Duseithreads -Dusemorebits" |
2f51deb1 |
336 | |
62f2092b |
337 | # CLEANTEST of http://schplog.schmorp.de/2015-06-06-a-stable-perl.html with non-tracing poisoning |
36372426 |
338 | - perl: "schmorp_stableperl_thr_mb" |
339 | sudo: false |
340 | dist: precise |
62f2092b |
341 | env: |
342 | - CLEANTEST=true |
343 | - POISON_ENV=true |
344 | - BREWVER=schmorp_stableperl |
345 | - BREWOPTS="-Duseithreads -Dusemorebits" |
261141ce |
346 | |
347 | # which ones of the above can fail |
348 | allow_failures: |
f2f65c95 |
349 | |
f207111d |
350 | # these run with various dev snapshots - allowed to fail |
64d48e19 |
351 | - perl: cperl-5.22.1_thr_qm |
4841171c |
352 | - perl: devcpan_5.8.1_thr_mb |
e9d552de |
353 | - perl: devcpan_5.8.1 |
fb30f0c0 |
354 | - perl: devcpan_5.8.3_mb |
e9d552de |
355 | - perl: devcpan_5.8.7_thr |
ee70a1ed |
356 | - perl: devcpan_5.8.8_thr_mb |
dd5de10a |
357 | - perl: devcpan_5.10.0_thr_mb |
e52712a8 |
358 | - perl: devcpan_5.12.1_thr |
c47de5de |
359 | - perl: bleadperl |
2f51deb1 |
360 | - perl: devcpan_bleadperl_thr_mb |
62f2092b |
361 | - perl: schmorp_stableperl_thr_mb |
261141ce |
362 | |
363 | |
afeb40d2 |
364 | ### |
365 | ### For the following two phases -e is *set* |
366 | ### |
b58ecb01 |
367 | |
d70070c9 |
368 | before_install: |
2b32a020 |
369 | # common functions for all run phases below |
afeb40d2 |
370 | # |
371 | # this is an exporter - sourcing it is crucial |
372 | # among other things it also sets -e |
373 | # |
2b32a020 |
374 | - source maint/travis-ci_scripts/common.bash |
375 | |
b58ecb01 |
376 | # Sets global envvars, downloads/configures debs based on CLEANTEST |
377 | # Sets extra DBICTEST_* envvars |
378 | # |
afeb40d2 |
379 | # this is an exporter - sourcing it is crucial |
380 | # |
b58ecb01 |
381 | - source maint/travis-ci_scripts/10_before_install.bash |
d70070c9 |
382 | |
383 | install: |
384 | # Build and switch to a custom perl if requested |
b58ecb01 |
385 | # Configure the perl env, preinstall some generic toolchain parts |
afeb40d2 |
386 | # Possibly poison the environment |
387 | # |
388 | # this is an exporter - sourcing it is crucial |
b58ecb01 |
389 | # |
b58ecb01 |
390 | - source maint/travis-ci_scripts/20_install.bash |
d70070c9 |
391 | |
afeb40d2 |
392 | ### |
393 | ### From this point on -e is *unset*, rely on travis' error handling |
394 | ### |
395 | - set +e |
396 | |
b58ecb01 |
397 | before_script: |
398 | # Preinstall/install deps based on envvars/CLEANTEST |
399 | # |
ac4e80df |
400 | # need to invoke the after_failure script manually |
401 | # because 'after_failure' runs only after 'script' fails |
402 | # |
8a684aea |
403 | - maint/getstatus maint/travis-ci_scripts/30_before_script.bash |
c299fd65 |
404 | |
b58ecb01 |
405 | script: |
406 | # Run actual tests |
407 | # |
ac4e80df |
408 | - maint/getstatus maint/travis-ci_scripts/40_script.bash |
c87d30a7 |
409 | |
6bb14e9b |
410 | ### |
411 | ### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533 |
412 | ### |
413 | - set -e |
414 | |
c87d30a7 |
415 | after_success: |
b58ecb01 |
416 | # Check if we can assemble a dist properly if not in CLEANTEST |
417 | # |
ac4e80df |
418 | - maint/getstatus maint/travis-ci_scripts/50_after_success.bash |
b58ecb01 |
419 | |
420 | after_failure: |
ac4e80df |
421 | # Final sysinfo printout on fail |
b58ecb01 |
422 | # |
ac4e80df |
423 | - maint/getstatus maint/travis-ci_scripts/50_after_failure.bash |
b58ecb01 |
424 | |
425 | after_script: |
426 | # No tasks yet |
427 | # |
ac4e80df |
428 | #- maint/getstatus maint/travis-ci_scripts/60_after_script.bash |