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