(travis) Display TAP directives on single threaded CI runs
Peter Rabbitson [Sat, 13 Feb 2016 20:38:31 +0000 (21:38 +0100)]
Add a couple extra single-thread runs, shouldn't take *that* much longer

.travis.yml
maint/travis-ci_scripts/40_script.bash

index 6fabbd0..2f99311 100644 (file)
@@ -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
index 5f4d57c..25a35ff 100755 (executable)
@@ -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