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/*
18 # Additionally master does not smoke with bleadperl
19 # ( implemented in maint/travis-ci_scripts/10_before_install.bash )
29 - "irc.perl.org#dbic-smoke"
31 - "%{branch}#%{build_number} by %{author}: %{message} (%{build_url})"
48 # This is probably a net-loss for setup etc - a bare 'C' will likely fare much better
51 # Currently not trying osx: https://github.com/travis-ci/travis-ci/issues/2314
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
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
88 # CLEANTEST of minimum supported with non-tracing poisoning, single thread (hence the sudo)
96 - DBIC_TRACE_PROFILE=console_monochrome
98 - BREWOPTS="-Dusemorebits"
100 # Full Test of minimum supported without threads with plain poisoned trace
104 # run these under legacy - great simulation of low memory env
112 # Full Test of minimum supported with threads with non-tracing poisoning
116 # run these under legacy - great simulation of low memory env
121 - DBIC_TRACE_PROFILE=console
123 - BREWOPTS="-Duseithreads"
125 # CLEANTEST of solaris-like perl with non-tracing poisoning
132 - DBIC_TRACE_PROFILE=console
135 # CLEANTEST: this particular perl is quite widespread
142 - BREWOPTS="-Duseithreads"
144 # CLEANTEST: this is the perl suse ships, with env poisoning
145 - perl: "5.10.0_thr_dbg"
152 - BREWOPTS="-DDEBUGGING -Duseithreads"
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"
162 - BREWOPTS="-Duseithreads -Dusemorebits"
165 # some permutations of tracing and envvar poisoning
174 - DBIC_MULTICREATE_DEBUG=1
175 - DBIC_STORAGE_RETRY_DEBUG=1
176 - DBIC_TRACE_PROFILE=console
178 - BREWOPTS="-Duseithreads"
180 - perl: "5.16.3_thr_mb"
188 - BREWOPTS="-Duseithreads -Dusemorebits"
190 - perl: "5.18-extras"
192 # explicit new infra spec preparing for a future forced upgrade
198 - DBIC_TRACE_PROFILE=console_monochrome
199 - DBICTEST_VIA_REPLICATED=0
200 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
203 # Start of the allow_failures block
205 # threaded oldest possible with blead CPAN
206 - perl: "devcpan_5.8.1_thr_mb"
213 - BREWOPTS="-Duseithreads -Dusemorebits"
215 # oldest possible with blead CPAN with poisoning and plain trace
216 - perl: "devcpan_5.8.1"
224 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
227 # 5.8.3 with blead CPAN
228 - perl: "devcpan_5.8.3_mb"
230 # explicit new infra spec preparing for a future forced upgrade
236 - BREWOPTS="-Dusemorebits"
238 # 5.8.7 threaded with blead CPAN with non-tracing poisoning
239 - perl: "devcpan_5.8.7_thr"
247 - BREWOPTS="-Duseithreads"
249 # 5.8.8 threaded MB (exercises P5#72210)
250 - perl: "devcpan_5.8.8_thr_mb"
255 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
258 - BREWOPTS="-Duseithreads -Dusemorebits"
260 # 5.10.0 threaded with blead CPAN
261 - perl: "devcpan_5.10.0_thr_mb"
268 - BREWOPTS="-Duseithreads -Dusemorebits"
270 # 5.12.1 with blead CPAN
271 - perl: "devcpan_5.12.1_thr"
278 - BREWOPTS="-Duseithreads"
280 # bleadperl with stock CPAN, full depchain test with non-tracing poisoning, single thread
290 # bleadperl with blead CPAN
291 - perl: "devcpan_bleadperl_thr_mb"
293 # explicitly do not specify dist - see what the default does
298 - BREWOPTS="-Duseithreads -Dusemorebits"
300 # CLEANTEST of http://schplog.schmorp.de/2015-06-06-a-stable-perl.html with non-tracing poisoning
301 - perl: "schmorp_stableperl_thr_mb"
307 - BREWVER=schmorp_stableperl
308 - BREWOPTS="-Duseithreads -Dusemorebits"
310 # which ones of the above can fail
313 # these run with various dev snapshots - allowed to fail
314 - perl: devcpan_5.8.1_thr_mb
315 - perl: devcpan_5.8.1
316 - perl: devcpan_5.8.3_mb
317 - perl: devcpan_5.8.7_thr
318 - perl: devcpan_5.8.8_thr_mb
319 - perl: devcpan_5.10.0_thr_mb
320 - perl: devcpan_5.12.1_thr
322 - perl: devcpan_bleadperl_thr_mb
323 - perl: schmorp_stableperl_thr_mb
327 ### For the following two phases -e is *set*
331 # common functions for all run phases below
333 # this is an exporter - sourcing it is crucial
334 # among other things it also sets -e
336 - source maint/travis-ci_scripts/common.bash
338 # Sets global envvars, downloads/configures debs based on CLEANTEST
339 # Sets extra DBICTEST_* envvars
341 # this is an exporter - sourcing it is crucial
343 - source maint/travis-ci_scripts/10_before_install.bash
346 # Build and switch to a custom perl if requested
347 # Configure the perl env, preinstall some generic toolchain parts
348 # Possibly poison the environment
350 # this is an exporter - sourcing it is crucial
352 - source maint/travis-ci_scripts/20_install.bash
355 ### From this point on -e is *unset*, rely on travis' error handling
360 # Preinstall/install deps based on envvars/CLEANTEST
362 # need to invoke the after_failure script manually
363 # because 'after_failure' runs only after 'script' fails
365 - maint/getstatus maint/travis-ci_scripts/30_before_script.bash || ( maint/travis-ci_scripts/50_after_failure.bash && /bin/false )
370 - maint/getstatus maint/travis-ci_scripts/40_script.bash
373 ### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533
378 # Check if we can assemble a dist properly if not in CLEANTEST
380 - maint/getstatus maint/travis-ci_scripts/50_after_success.bash
383 # Final sysinfo printout on fail
385 - maint/getstatus maint/travis-ci_scripts/50_after_failure.bash
390 #- maint/getstatus maint/travis-ci_scripts/60_after_script.bash