1 # Some overall notes on how this works
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
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
9 # attention of the maintainer. *DO NOT* disable 5.8 testing - it is here for
12 # the entire run times out after 50 minutes, or after 5 minutes without
16 # Smoke all branches except for blocked* and wip/*
25 - "irc.perl.org#dbic-smoke"
27 - "%{branch}#%{build_number} by %{author}: %{message} (%{build_url})"
44 # This is probably a net-loss for setup etc - a bare 'C' will likely fare much better
47 # Currently not trying osx: https://github.com/travis-ci/travis-ci/issues/2314
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
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 # Add moderate (not complete) poisoning, as these will run on PR-related
74 # builds, therefore contributors will get notified about *most* issues
96 # CLEANTEST of minimum supported with non-tracing poisoning, single thread (hence the sudo)
104 - DBIC_TRACE_PROFILE=console_monochrome
106 - BREWOPTS="-Dusemorebits"
108 # Full Test of minimum supported without threads with plain poisoned trace
112 # run these under legacy - great simulation of low memory env
120 # Full Test of minimum supported with threads with non-tracing poisoning
124 # run these under legacy - great simulation of low memory env
129 - DBIC_TRACE_PROFILE=console
131 - BREWOPTS="-Duseithreads"
133 # CLEANTEST of solaris-like perl with non-tracing poisoning
140 - DBIC_TRACE_PROFILE=console
143 # Full test: this particular perl is quite widespread, single thread
152 - BREWOPTS="-Duseithreads"
154 # CLEANTEST: this is the perl suse ships, with env poisoning
155 - perl: "5.10.0_thr_dbg"
162 - BREWOPTS="-DDEBUGGING -Duseithreads"
164 # CLEANTEST: this one is in a number of debian-based LTS (test a sane CPAN.pm, single thread)
165 - perl: "5.14.2_thr_mb"
172 - BREWOPTS="-Duseithreads -Dusemorebits"
175 # some permutations of tracing and envvar poisoning
184 - DBIC_MULTICREATE_DEBUG=1
185 - DBIC_STORAGE_RETRY_DEBUG=1
186 - DBIC_TRACE_PROFILE=console
188 - BREWOPTS="-Duseithreads"
190 - perl: "5.16.3_thr_mb"
196 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
198 - BREWOPTS="-Duseithreads -Dusemorebits"
200 - perl: "5.18-extras"
202 # explicit new infra spec preparing for a future forced upgrade
208 - DBIC_TRACE_PROFILE=console_monochrome
209 - DBICTEST_VIA_REPLICATED=0
210 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
212 # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO CPERL BELOW
213 # allows for easier side-by-side comparison
214 # vcpu=1 for even more stable results
215 - perl: "5.24.0_thr_qm"
216 # explicit new infra spec preparing for a future forced upgrade
217 # also need to pull in a sufficiently new compiler for quadmath.h
226 - BREWOPTS="-Duseithreads -Dusequadmath"
229 # Start of the allow_failures block
231 # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO STOCK 5.latest.comparable ABOVE
232 # allows for easier side-by-side comparison
233 # vcpu=1 for even more stable results
234 - perl: "cperl-5.24.0_thr_qm"
235 # explicit new infra spec preparing for a future forced upgrade
236 # also need to pull in a sufficiently new compiler for quadmath.h
244 - BREWVER=cperl-5.24.0
245 - BREWOPTS="-Duseithreads -Dusequadmath"
247 - perl: "cperl-master_thr"
254 - BREWVER=cperl-master
255 - BREWOPTS="-Duseithreads -Dusedevel"
257 # threaded oldest possible with blead CPAN
258 - perl: "devcpan_5.8.1_thr_mb"
265 - BREWOPTS="-Duseithreads -Dusemorebits"
267 # oldest possible with blead CPAN with poisoning and plain trace
268 - perl: "devcpan_5.8.1"
276 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
279 # 5.8.3 with blead CPAN
280 - perl: "devcpan_5.8.3_mb"
282 # explicit new infra spec preparing for a future forced upgrade
288 - BREWOPTS="-Dusemorebits"
290 # 5.8.7 threaded with blead CPAN with non-tracing poisoning
291 - perl: "devcpan_5.8.7_thr"
299 - BREWOPTS="-Duseithreads"
301 # 5.8.8 threaded MB (exercises P5#72210)
302 - perl: "devcpan_5.8.8_thr_mb"
307 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
310 - BREWOPTS="-Duseithreads -Dusemorebits"
312 # 5.10.0 threaded with blead CPAN
313 - perl: "devcpan_5.10.0_thr_mb"
320 - BREWOPTS="-Duseithreads -Dusemorebits"
322 # 5.12.1 with blead CPAN
323 - perl: "devcpan_5.12.1_thr"
330 - BREWOPTS="-Duseithreads"
332 # bleadperl with stock CPAN, full depchain test with non-tracing poisoning, single thread
342 # bleadperl with blead CPAN, single thread
343 - perl: "devcpan_bleadperl_thr_mb"
345 # explicitly do not specify dist - see what the default does
351 - BREWOPTS="-Duseithreads -Dusemorebits"
353 # CLEANTEST of http://schplog.schmorp.de/2015-06-06-a-stable-perl.html with non-tracing poisoning
354 - perl: "schmorp_stableperl_thr_mb"
360 - BREWVER=schmorp_stableperl
361 - BREWOPTS="-Duseithreads -Dusemorebits"
363 # which ones of the above can fail
366 # FIXME work around https://github.com/travis-ci/travis-ci/issues/6439
368 - perl: 5.24.0_thr_qm
370 # these run with various dev snapshots - allowed to fail
371 - perl: cperl-5.24.0_thr_qm
372 - perl: cperl-master_thr
373 - perl: devcpan_5.8.1_thr_mb
374 - perl: devcpan_5.8.1
375 - perl: devcpan_5.8.3_mb
376 - perl: devcpan_5.8.7_thr
377 - perl: devcpan_5.8.8_thr_mb
378 - perl: devcpan_5.10.0_thr_mb
379 - perl: devcpan_5.12.1_thr
381 - perl: devcpan_bleadperl_thr_mb
382 - perl: schmorp_stableperl_thr_mb
386 ### For the following two phases -e is *set*
390 # common functions for all run phases below
392 # this is an exporter - sourcing it is crucial
393 # among other things it also sets -e
395 - source maint/travis-ci_scripts/common.bash
397 # Sets global envvars, downloads/configures debs based on CLEANTEST
398 # Sets extra DBICTEST_* envvars
400 # this is an exporter - sourcing it is crucial
402 - source maint/travis-ci_scripts/10_before_install.bash
405 # Build and switch to a custom perl if requested
406 # Configure the perl env, preinstall some generic toolchain parts
407 # Possibly poison the environment
409 # this is an exporter - sourcing it is crucial
411 - source maint/travis-ci_scripts/20_install.bash
414 ### From this point on -e is *unset*, rely on travis' error handling
419 # Preinstall/install deps based on envvars/CLEANTEST
421 # need to invoke the after_failure script manually
422 # because 'after_failure' runs only after 'script' fails
424 - maint/getstatus /bin/bash maint/travis-ci_scripts/30_before_script.bash
429 - maint/getstatus /bin/bash maint/travis-ci_scripts/40_script.bash
432 ### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533
437 # Check if we can assemble a dist properly if not in CLEANTEST
439 - maint/getstatus /bin/bash maint/travis-ci_scripts/50_after_success.bash || ( /bin/bash maint/travis-ci_scripts/50_after_failure.bash && /bin/false )
442 # Final sysinfo printout on fail
444 - maint/getstatus /bin/bash maint/travis-ci_scripts/50_after_failure.bash
449 #- maint/getstatus /bin/bash maint/travis-ci_scripts/60_after_script.bash