Move bleadperl to 'fail ok' submatrix - too much churn
[dbsrgits/DBIx-Class.git] / .travis.yml
index f51eeac..1438706 100644 (file)
@@ -56,12 +56,12 @@ notifications:
       # Temporary - if it proves to be too noisy, we'll shut it off
       #- dbix-class-devel@lists.scsys.co.uk
     on_success: change
-    on_failure: change
+    on_failure: always
 
 language: perl
 
 perl:
-  - "5.16"
+  - "5.18"
 
 env:
   - CLEANTEST=false
@@ -69,19 +69,13 @@ env:
 
 matrix:
   include:
-    # bleadperl
-    - perl: bleadperl_thr_mb
-      env:
-        - CLEANTEST=false
-        - BREWOPTS="-Duseithreads -Dusemorebits"
-        - BREWVER=blead
-
     # minimum supported with threads
     - perl: 5.8.5_thr
       env:
         - CLEANTEST=false
         - BREWOPTS="-Duseithreads"
         - BREWVER=5.8.5
+        - DBIC_TRACE_PROFILE=console
 
     # minimum supported without threads
     - perl: 5.8.3_nt
@@ -89,6 +83,7 @@ matrix:
         - CLEANTEST=false
         - BREWOPTS=""
         - BREWVER=5.8.3
+        - DBIC_TRACE_PROFILE=console_monochrome
 
     # check CLEANTEST of minimum supported
     - perl: 5.8.3_nt_mb
@@ -111,6 +106,42 @@ matrix:
         - BREWOPTS="-Duseithreads -Dusemorebits"
         - BREWVER=5.8.8
 
+    # some permutations of tracing and envvar poisoning
+    - perl: 5.18
+      env:
+        - CLEANTEST=false
+        - POISON_ENV=true
+
+    - perl: 5.18
+      env:
+        - CLEANTEST=true
+        - POISON_ENV=true
+        - DBIC_TRACE=1
+        - DBIC_TRACE_PROFILE=console
+
+    - perl: 5.18
+      env:
+        - CLEANTEST=false
+        - POISON_ENV=true
+        - DBIC_TRACE=1
+        - DBIC_TRACE_PROFILE=console_monochrome
+
+    ###
+    # Start of the allow_failures block
+
+    # bleadperl
+    - perl: bleadperl_thr_mb
+      env:
+        - CLEANTEST=false
+        - BREWOPTS="-Duseithreads -Dusemorebits"
+        - BREWVER=blead
+
+
+  # which ones of the above can fail
+  allow_failures:
+    - perl: bleadperl_thr_mb
+
+
 # sourcing the files is *EXTREMELY* important - otherwise
 # no envvars will survive