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
73 # Same as the "master matrix" above, frozen under older dist/infrastructure
74 # In genereal it is strongly recommended to keep things on the older
75 # version indefinitely - there is little value in-depth smoking on
76 # more recent software stacks
95 # CLEANTEST of minimum supported with non-tracing poisoning, single thread (hence the sudo)
103 - DBIC_TRACE_PROFILE=console_monochrome
105 - BREWOPTS="-Dusemorebits"
107 # Full Test of minimum supported without threads with plain poisoned trace
111 # run these under legacy - great simulation of low memory env
119 # Full Test of minimum supported with threads with non-tracing poisoning
123 # run these under legacy - great simulation of low memory env
128 - DBIC_TRACE_PROFILE=console
130 - BREWOPTS="-Duseithreads"
132 # CLEANTEST of solaris-like perl with non-tracing poisoning
139 - DBIC_TRACE_PROFILE=console
142 # Full test: this particular perl is quite widespread, single thread
150 - BREWOPTS="-Duseithreads"
152 # CLEANTEST: this is the perl suse ships, with env poisoning
153 - perl: "5.10.0_thr_dbg"
160 - BREWOPTS="-DDEBUGGING -Duseithreads"
162 # CLEANTEST: this one is in a number of debian-based LTS (test a sane CPAN.pm, single thread)
163 - perl: "5.14.2_thr_mb"
170 - BREWOPTS="-Duseithreads -Dusemorebits"
173 # some permutations of tracing and envvar poisoning
182 - DBIC_MULTICREATE_DEBUG=1
183 - DBIC_STORAGE_RETRY_DEBUG=1
184 - DBIC_TRACE_PROFILE=console
186 - BREWOPTS="-Duseithreads"
188 - perl: "5.16.3_thr_mb"
196 - BREWOPTS="-Duseithreads -Dusemorebits"
198 - perl: "5.18-extras"
200 # explicit new infra spec preparing for a future forced upgrade
206 - DBIC_TRACE_PROFILE=console_monochrome
207 - DBICTEST_VIA_REPLICATED=0
208 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
211 # Start of the allow_failures block
213 # threaded oldest possible with blead CPAN
214 - perl: "devcpan_5.8.1_thr_mb"
221 - BREWOPTS="-Duseithreads -Dusemorebits"
223 # oldest possible with blead CPAN with poisoning and plain trace
224 - perl: "devcpan_5.8.1"
232 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
235 # 5.8.3 with blead CPAN
236 - perl: "devcpan_5.8.3_mb"
238 # explicit new infra spec preparing for a future forced upgrade
244 - BREWOPTS="-Dusemorebits"
246 # 5.8.7 threaded with blead CPAN with non-tracing poisoning
247 - perl: "devcpan_5.8.7_thr"
255 - BREWOPTS="-Duseithreads"
257 # 5.8.8 threaded MB (exercises P5#72210)
258 - perl: "devcpan_5.8.8_thr_mb"
263 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1
266 - BREWOPTS="-Duseithreads -Dusemorebits"
268 # 5.10.0 threaded with blead CPAN
269 - perl: "devcpan_5.10.0_thr_mb"
276 - BREWOPTS="-Duseithreads -Dusemorebits"
278 # 5.12.1 with blead CPAN
279 - perl: "devcpan_5.12.1_thr"
286 - BREWOPTS="-Duseithreads"
288 # bleadperl with stock CPAN, full depchain test with non-tracing poisoning, single thread
298 # bleadperl with blead CPAN, single thread
299 - perl: "devcpan_bleadperl_thr_mb"
301 # explicitly do not specify dist - see what the default does
307 - BREWOPTS="-Duseithreads -Dusemorebits"
309 # CLEANTEST of http://schplog.schmorp.de/2015-06-06-a-stable-perl.html with non-tracing poisoning
310 - perl: "schmorp_stableperl_thr_mb"
316 - BREWVER=schmorp_stableperl
317 - BREWOPTS="-Duseithreads -Dusemorebits"
319 # which ones of the above can fail
322 # these run with various dev snapshots - allowed to fail
323 - perl: devcpan_5.8.1_thr_mb
324 - perl: devcpan_5.8.1
325 - perl: devcpan_5.8.3_mb
326 - perl: devcpan_5.8.7_thr
327 - perl: devcpan_5.8.8_thr_mb
328 - perl: devcpan_5.10.0_thr_mb
329 - perl: devcpan_5.12.1_thr
331 - perl: devcpan_bleadperl_thr_mb
332 - perl: schmorp_stableperl_thr_mb
336 ### For the following two phases -e is *set*
340 # common functions for all run phases below
342 # this is an exporter - sourcing it is crucial
343 # among other things it also sets -e
345 - source maint/travis-ci_scripts/common.bash
347 # Sets global envvars, downloads/configures debs based on CLEANTEST
348 # Sets extra DBICTEST_* envvars
350 # this is an exporter - sourcing it is crucial
352 - source maint/travis-ci_scripts/10_before_install.bash
355 # Build and switch to a custom perl if requested
356 # Configure the perl env, preinstall some generic toolchain parts
357 # Possibly poison the environment
359 # this is an exporter - sourcing it is crucial
361 - source maint/travis-ci_scripts/20_install.bash
364 ### From this point on -e is *unset*, rely on travis' error handling
369 # Preinstall/install deps based on envvars/CLEANTEST
371 # need to invoke the after_failure script manually
372 # because 'after_failure' runs only after 'script' fails
374 - maint/getstatus maint/travis-ci_scripts/30_before_script.bash
379 - maint/getstatus maint/travis-ci_scripts/40_script.bash
382 ### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533
387 # Check if we can assemble a dist properly if not in CLEANTEST
389 - maint/getstatus maint/travis-ci_scripts/50_after_success.bash
392 # Final sysinfo printout on fail
394 - maint/getstatus maint/travis-ci_scripts/50_after_failure.bash
399 #- maint/getstatus maint/travis-ci_scripts/60_after_script.bash