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
91 # CLEANTEST of minimum supported with non-tracing poisoning, single thread (hence the sudo)
99 - DBIC_TRACE_PROFILE=console_monochrome
101 - BREWOPTS="-Dusemorebits"
103 # Full Test of minimum supported without threads with plain poisoned trace
107 # run these under legacy - great simulation of low memory env
115 # Full Test of minimum supported with threads with non-tracing poisoning
119 # run these under legacy - great simulation of low memory env
124 - DBIC_TRACE_PROFILE=console
126 - BREWOPTS="-Duseithreads"
128 # CLEANTEST of solaris-like perl with non-tracing poisoning
135 - DBIC_TRACE_PROFILE=console
138 # Full test: this particular perl is quite widespread, single thread
147 - BREWOPTS="-Duseithreads"
149 # CLEANTEST: this is the perl suse ships, with env poisoning
150 - perl: "5.10.0_thr_dbg"
157 - BREWOPTS="-DDEBUGGING -Duseithreads"
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"
167 - BREWOPTS="-Duseithreads -Dusemorebits"
170 # some permutations of tracing and envvar poisoning
179 - DBIC_MULTICREATE_DEBUG=1
180 - DBIC_STORAGE_RETRY_DEBUG=1
181 - DBIC_TRACE_PROFILE=console
183 - BREWOPTS="-Duseithreads"
185 - perl: "5.16.3_thr_mb"
191 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
193 - BREWOPTS="-Duseithreads -Dusemorebits"
195 - perl: "5.18-extras"
197 # explicit new infra spec preparing for a future forced upgrade
203 - DBIC_TRACE_PROFILE=console_monochrome
204 - DBICTEST_VIA_REPLICATED=0
205 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
207 # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO CPERL BELOW
208 # allows for easier side-by-side comparison
209 # vcpu=1 for even more stable results
210 - perl: "5.22.2_thr_qm"
211 # explicit new infra spec preparing for a future forced upgrade
212 # also need to pull in a sufficiently new compiler for quadmath.h
221 - BREWOPTS="-Duseithreads -Dusequadmath"
224 # Start of the allow_failures block
226 # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO STOCK 5.latest.comparable ABOVE
227 # allows for easier side-by-side comparison
228 # vcpu=1 for even more stable results
229 - perl: "cperl-5.22.3_thr_qm"
230 # explicit new infra spec preparing for a future forced upgrade
231 # also need to pull in a sufficiently new compiler for quadmath.h
239 - BREWVER=cperl-5.22.3
240 - BREWOPTS="-Duseithreads -Dusequadmath"
242 - perl: "cperl-master_thr"
249 - BREWVER=cperl-master
250 - BREWOPTS="-Duseithreads"
252 # threaded oldest possible with blead CPAN
253 - perl: "devcpan_5.8.1_thr_mb"
260 - BREWOPTS="-Duseithreads -Dusemorebits"
262 # oldest possible with blead CPAN with poisoning and plain trace
263 - perl: "devcpan_5.8.1"
271 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
274 # 5.8.3 with blead CPAN
275 - perl: "devcpan_5.8.3_mb"
277 # explicit new infra spec preparing for a future forced upgrade
283 - BREWOPTS="-Dusemorebits"
285 # 5.8.7 threaded with blead CPAN with non-tracing poisoning
286 - perl: "devcpan_5.8.7_thr"
294 - BREWOPTS="-Duseithreads"
296 # 5.8.8 threaded MB (exercises P5#72210)
297 - perl: "devcpan_5.8.8_thr_mb"
302 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
305 - BREWOPTS="-Duseithreads -Dusemorebits"
307 # 5.10.0 threaded with blead CPAN
308 - perl: "devcpan_5.10.0_thr_mb"
315 - BREWOPTS="-Duseithreads -Dusemorebits"
317 # 5.12.1 with blead CPAN
318 - perl: "devcpan_5.12.1_thr"
325 - BREWOPTS="-Duseithreads"
327 # bleadperl with stock CPAN, full depchain test with non-tracing poisoning, single thread
337 # bleadperl with blead CPAN, single thread
338 - perl: "devcpan_bleadperl_thr_mb"
340 # explicitly do not specify dist - see what the default does
346 - BREWOPTS="-Duseithreads -Dusemorebits"
348 # CLEANTEST of http://schplog.schmorp.de/2015-06-06-a-stable-perl.html with non-tracing poisoning
349 - perl: "schmorp_stableperl_thr_mb"
355 - BREWVER=schmorp_stableperl
356 - BREWOPTS="-Duseithreads -Dusemorebits"
358 # which ones of the above can fail
361 # these run with various dev snapshots - allowed to fail
362 - perl: cperl-5.22.3_thr_qm
363 - perl: cperl-master_thr
364 - perl: devcpan_5.8.1_thr_mb
365 - perl: devcpan_5.8.1
366 - perl: devcpan_5.8.3_mb
367 - perl: devcpan_5.8.7_thr
368 - perl: devcpan_5.8.8_thr_mb
369 - perl: devcpan_5.10.0_thr_mb
370 - perl: devcpan_5.12.1_thr
372 - perl: devcpan_bleadperl_thr_mb
373 - perl: schmorp_stableperl_thr_mb
377 ### For the following two phases -e is *set*
381 # common functions for all run phases below
383 # this is an exporter - sourcing it is crucial
384 # among other things it also sets -e
386 - source maint/travis-ci_scripts/common.bash
388 # Sets global envvars, downloads/configures debs based on CLEANTEST
389 # Sets extra DBICTEST_* envvars
391 # this is an exporter - sourcing it is crucial
393 - source maint/travis-ci_scripts/10_before_install.bash
396 # Build and switch to a custom perl if requested
397 # Configure the perl env, preinstall some generic toolchain parts
398 # Possibly poison the environment
400 # this is an exporter - sourcing it is crucial
402 - source maint/travis-ci_scripts/20_install.bash
405 ### From this point on -e is *unset*, rely on travis' error handling
410 # Preinstall/install deps based on envvars/CLEANTEST
412 # need to invoke the after_failure script manually
413 # because 'after_failure' runs only after 'script' fails
415 - maint/getstatus maint/travis-ci_scripts/30_before_script.bash
420 - maint/getstatus maint/travis-ci_scripts/40_script.bash
423 ### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533
428 # Check if we can assemble a dist properly if not in CLEANTEST
430 - maint/getstatus maint/travis-ci_scripts/50_after_success.bash
433 # Final sysinfo printout on fail
435 - maint/getstatus maint/travis-ci_scripts/50_after_failure.bash
440 #- maint/getstatus maint/travis-ci_scripts/60_after_script.bash