X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=.travis.yml;h=719a83af4706e77f4c48abc310b6cca1ac24ffd8;hb=9040c43abdc6182d84525e3d4c08765f989769a1;hp=6fabbd01059877c742bf9453845f1697d38ef4aa;hpb=8a684aeaa7dd3c6bd8c7e9a1ff7e8f5704c67a6d;p=dbsrgits%2FDBIx-Class.git diff --git a/.travis.yml b/.travis.yml index 6fabbd0..719a83a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,10 +14,6 @@ # # Smoke all branches except for blocked* and wip/* -# -# Additionally master does not smoke with bleadperl -# ( implemented in maint/travis-ci_scripts/10_before_install.bash ) -# branches: except: - /^wip\// @@ -35,7 +31,7 @@ notifications: email: recipients: - - ribasushi@cpan.org + - CPAN-CI@leporine.io on_success: change on_failure: always @@ -74,23 +70,28 @@ matrix: # In genereal it is strongly recommended to keep things on the older # version indefinitely - there is little value in-depth smoking on # more recent software stacks + # Add moderate (not complete) poisoning, as these will run on PR-related + # builds, therefore contributors will get notified about *most* issues - perl: "5.8" sudo: required dist: precise env: - CLEANTEST=false + - POISON_ENV=true - perl: "5.10" sudo: required dist: precise env: - CLEANTEST=false + - POISON_ENV=true - perl: "5.22-extras" sudo: required dist: precise env: - CLEANTEST=false + - POISON_ENV=true # CLEANTEST of minimum supported with non-tracing poisoning, single thread (hence the sudo) - perl: "5.8.3_nt_mb" @@ -139,12 +140,14 @@ matrix: - DBIC_TRACE_PROFILE=console - BREWVER=5.8.4 - # CLEANTEST: this particular perl is quite widespread + # Full test: this particular perl is quite widespread, single thread - perl: "5.8.8_thr" - sudo: false + sudo: required dist: precise + group: legacy env: - - CLEANTEST=true + - VCPU_USE=1 + - CLEANTEST=false - BREWVER=5.8.8 - BREWOPTS="-Duseithreads" @@ -189,8 +192,8 @@ matrix: dist: precise env: - CLEANTEST=false - - POISON_ENV=true - DBIC_TRACE=1 + - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1 - BREWVER=5.16.3 - BREWOPTS="-Duseithreads -Dusemorebits" @@ -206,9 +209,51 @@ matrix: - DBICTEST_VIA_REPLICATED=0 - DBICTEST_VERSION_WARNS_INDISCRIMINATELY=1 + # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO CPERL BELOW + # allows for easier side-by-side comparison + # vcpu=1 for even more stable results + - perl: "5.24.0_thr_qm" + # explicit new infra spec preparing for a future forced upgrade + # also need to pull in a sufficiently new compiler for quadmath.h + sudo: required + dist: trusty + env: + - VCPU_USE=1 + - CLEANTEST=true + - POISON_ENV=true + - MVDT=false + - BREWVER=5.24.0 + - BREWOPTS="-Duseithreads -Dusequadmath" + ### # Start of the allow_failures block + # MAKE SURE TO KEEP THE FLAGS IDENTICAL TO STOCK 5.latest.comparable ABOVE + # allows for easier side-by-side comparison + # vcpu=1 for even more stable results + - perl: "cperl-5.24.0_thr_qm" + # explicit new infra spec preparing for a future forced upgrade + # also need to pull in a sufficiently new compiler for quadmath.h + sudo: required + dist: trusty + env: + - VCPU_USE=1 + - CLEANTEST=true + - POISON_ENV=true + - MVDT=false + - BREWVER=cperl-5.24.0 + - BREWOPTS="-Duseithreads -Dusequadmath" + + - perl: "cperl-master_thr" + sudo: false + dist: precise + env: + - CLEANTEST=true + - POISON_ENV=true + - MVDT=false + - BREWVER=cperl-master + - BREWOPTS="-Duseithreads -Dusedevel" + # threaded oldest possible with blead CPAN - perl: "devcpan_5.8.1_thr_mb" sudo: false @@ -294,11 +339,12 @@ matrix: - POISON_ENV=true - BREWVER=blead - # bleadperl with blead CPAN + # bleadperl with blead CPAN, single thread - perl: "devcpan_bleadperl_thr_mb" sudo: required # explicitly do not specify dist - see what the default does env: + - VCPU_USE=1 - CLEANTEST=false - DEVREL_DEPS=true - BREWVER=blead @@ -317,7 +363,13 @@ matrix: # which ones of the above can fail allow_failures: + # FIXME work around https://github.com/travis-ci/travis-ci/issues/6439 + - perl: 5.18-extras + - perl: 5.24.0_thr_qm + # these run with various dev snapshots - allowed to fail + - perl: cperl-5.24.0_thr_qm + - perl: cperl-master_thr - perl: devcpan_5.8.1_thr_mb - perl: devcpan_5.8.1 - perl: devcpan_5.8.3_mb @@ -369,12 +421,12 @@ before_script: # need to invoke the after_failure script manually # because 'after_failure' runs only after 'script' fails # - - maint/getstatus maint/travis-ci_scripts/30_before_script.bash + - maint/getstatus /bin/bash maint/travis-ci_scripts/30_before_script.bash script: # Run actual tests # - - maint/getstatus maint/travis-ci_scripts/40_script.bash + - maint/getstatus /bin/bash maint/travis-ci_scripts/40_script.bash ### ### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533 @@ -384,14 +436,14 @@ script: after_success: # Check if we can assemble a dist properly if not in CLEANTEST # - - maint/getstatus maint/travis-ci_scripts/50_after_success.bash + - maint/getstatus /bin/bash maint/travis-ci_scripts/50_after_success.bash || ( /bin/bash maint/travis-ci_scripts/50_after_failure.bash && /bin/false ) after_failure: # Final sysinfo printout on fail # - - maint/getstatus maint/travis-ci_scripts/50_after_failure.bash + - maint/getstatus /bin/bash maint/travis-ci_scripts/50_after_failure.bash after_script: # No tasks yet # - #- maint/getstatus maint/travis-ci_scripts/60_after_script.bash + #- maint/getstatus /bin/bash maint/travis-ci_scripts/60_after_script.bash