From: Peter Rabbitson Date: Sun, 7 Jun 2015 11:49:50 +0000 (+0200) Subject: Add Schmorp's "stable perl" fork to the smoke rosters X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=62f2092b;p=dbsrgits%2FDBIx-Class.git Add Schmorp's "stable perl" fork to the smoke rosters A note on motivation: I personally fully support Marc Lehmann's assertion that the current direction of the perl5 development effort leaves a lot to be desired (put in the mildest terms possible). The amount of changes[1] necessary to get a *very* widely used module working again, and the failure of the original authors to abandon the problematic direction *on their own* is nothing short of an embarrassment. I fully recognize the reason why Marc elected to attempt to maintain a fork (a nontrivial long-term commitment), instead of engaging in another round of politicking and downright begging. The inclusion of "stability perl" in the DBIC full-test matrix is the very least I can do to support this effort. --ribasushi [1] http://stableperl.schmorp.de/dist/stableperl-5.22.0-1.001.diff --- diff --git a/.travis.yml b/.travis.yml index bb651c0..2e1dca0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -226,6 +226,13 @@ matrix: - BREWVER=blead - BREWOPTS="-Duseithreads -Dusemorebits" + # CLEANTEST of http://schplog.schmorp.de/2015-06-06-a-stable-perl.html with non-tracing poisoning + - perl: schmorp_stableperl_thr_mb + env: + - CLEANTEST=true + - POISON_ENV=true + - BREWVER=schmorp_stableperl + - BREWOPTS="-Duseithreads -Dusemorebits" # which ones of the above can fail allow_failures: @@ -238,6 +245,7 @@ matrix: - perl: devcpan_5.12.1_thr - perl: bleadperl - perl: devcpan_bleadperl_thr_mb + - perl: schmorp_stableperl_thr_mb ### diff --git a/maint/travis-ci_scripts/20_install.bash b/maint/travis-ci_scripts/20_install.bash index 279dafd..45b2b5e 100755 --- a/maint/travis-ci_scripts/20_install.bash +++ b/maint/travis-ci_scripts/20_install.bash @@ -22,14 +22,21 @@ fi export PERL_CPANM_OPT="--verbose --no-interactive --no-man-pages $( echo $PERL_CPANM_OPT | sed 's/--skip-satisfied//' )" if [[ -n "$BREWVER" ]] ; then + # since perl 5.14 a perl can safely be built concurrently with -j$large # (according to brute force testing and my power bill) - if [[ "$BREWVER" == "blead" ]] || perl -Mversion -e "exit !!(version->new(q($BREWVER)) < 5.014)" ; then + if [[ "$BREWVER" =~ [A-Za-z] ]] || perl -Mversion -e "exit !!(version->new(q($BREWVER)) < 5.014)" ; then perlbrew_jopt="$VCPU_USE" fi + BREWSRC="$BREWVER" + + if [[ "$BREWVER" == "schmorp_stableperl" ]] ; then + BREWSRC="http://stableperl.schmorp.de/dist/stableperl-5.22.0-1.001.tar.gz" + fi + run_or_err "Compiling/installing Perl $BREWVER (without testing, using ${perlbrew_jopt:-1} threads, may take up to 5 minutes)" \ - "perlbrew install --as $BREWVER --notest --noman --verbose $BREWOPTS -j${perlbrew_jopt:-1} $BREWVER" + "perlbrew install --as $BREWVER --notest --noman --verbose $BREWOPTS -j${perlbrew_jopt:-1} $BREWSRC" # can not do 'perlbrew uss' in the run_or_err subshell above, or a $() # furthermore `perlbrew use` returns 0 regardless of whether the perl is