(travis) Add explicit sudo:true to .travis.yml
[dbsrgits/DBIx-Class.git] / .travis.yml
index dbdea19..359a9e9 100644 (file)
@@ -18,7 +18,7 @@
 #   possible set of deps *without testing them*. This ensures we stay within
 #   a reasonable build-time and still run as many of our tests as possible
 #
-# * The perl builds and the DBIC tests run under NUMTHREADS number of threads.
+# * The perl builds and the DBIC tests run under VCPU_USE number of threads.
 # The testing of dependencies under CLEANTEST runs single-threaded, at least
 # until we fix our entire dep-chain to safely pass under -j
 #
@@ -75,7 +75,9 @@ perl:
 
 env:
   - CLEANTEST=false
-  - CLEANTEST=true
+  - CLEANTEST=true VCPU_USE=1
+
+sudo: true
 
 matrix:
   fast_finish: true
@@ -161,10 +163,20 @@ matrix:
         - DBIC_TRACE=1
         - POISON_ENV=true
         - DBIC_TRACE_PROFILE=console_monochrome
+        - DBICTEST_VIA_REPLICATED=0
 
     ###
     # Start of the allow_failures block
 
+    # threaded oldest possible with blead CPAN with non-tracing poisoning
+    - perl: devcpan_5.8.1_thr_mb
+      env:
+        - CLEANTEST=true
+        - DEVREL_DEPS=true
+        - POISON_ENV=true
+        - BREWVER=5.8.1
+        - BREWOPTS="-Duseithreads -Dusemorebits"
+
     # 5.8.4 threaded with blead CPAN with non-tracing poisoning
     - perl: devcpan_5.8.4_thr
       env:
@@ -211,6 +223,7 @@ matrix:
   allow_failures:
 
     # these run with various dev snapshots - allowed to fail
+    - perl: devcpan_5.8.1_thr_mb
     - perl: devcpan_5.8.4_thr
     - perl: devcpan_5.10.0_thr_mb
     - perl: devcpan_5.12.1_thr
@@ -264,6 +277,11 @@ script:
   #
   - maint/getstatus maint/travis-ci_scripts/40_script.bash
 
+###
+### Set -e back, work around https://github.com/travis-ci/travis-ci/issues/3533
+###
+  - set -e
+
 after_success:
   # Check if we can assemble a dist properly if not in CLEANTEST
   #