From: Peter Rabbitson Date: Sat, 13 Feb 2016 20:38:31 +0000 (+0100) Subject: (travis) Display TAP directives on single threaded CI runs X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7db287353abcf82c4fe856d4636384084ed5c13f;p=dbsrgits%2FDBIx-Class-Historic.git (travis) Display TAP directives on single threaded CI runs Add a couple extra single-thread runs, shouldn't take *that* much longer --- diff --git a/.travis.yml b/.travis.yml index 6fabbd0..2f99311 100644 --- a/.travis.yml +++ b/.travis.yml @@ -139,12 +139,13 @@ 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 env: - - CLEANTEST=true + - VCPU_USE=1 + - CLEANTEST=false - BREWVER=5.8.8 - BREWOPTS="-Duseithreads" @@ -294,11 +295,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 diff --git a/maint/travis-ci_scripts/40_script.bash b/maint/travis-ci_scripts/40_script.bash index 5f4d57c..25a35ff 100755 --- a/maint/travis-ci_scripts/40_script.bash +++ b/maint/travis-ci_scripts/40_script.bash @@ -35,6 +35,11 @@ else PROVECMD="$PROVECMD -T" fi + # List every single SKIP/TODO when they are visible + if [[ "$VCPU_USE" == 1 ]] ; then + PROVECMD="$PROVECMD --directives" + fi + echo_err "$(tstamp) running tests with \`$PROVECMD\`" $PROVECMD 2> >(tee "$TEST_STDERR_LOG") fi