Sync Example.pod with reality, though in fairness it just needs to die...
[dbsrgits/DBIx-Class.git] / .travis.yml
index f51eeac..07e9da7 100644 (file)
@@ -56,7 +56,7 @@ 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
 
@@ -82,6 +82,7 @@ matrix:
         - CLEANTEST=false
         - BREWOPTS="-Duseithreads"
         - BREWVER=5.8.5
+        - DBIC_TRACE_PROFILE=console
 
     # minimum supported without threads
     - perl: 5.8.3_nt
@@ -89,6 +90,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 +113,26 @@ matrix:
         - BREWOPTS="-Duseithreads -Dusemorebits"
         - BREWVER=5.8.8
 
+    # some permutations of tracing and envvar poisoning
+    - perl: 5.16
+      env:
+        - CLEANTEST=false
+        - POISON_ENV=true
+
+    - perl: 5.16
+      env:
+        - CLEANTEST=true
+        - POISON_ENV=true
+        - DBIC_TRACE=1
+        - DBIC_TRACE_PROFILE=console
+
+    - perl: 5.16
+      env:
+        - CLEANTEST=false
+        - POISON_ENV=true
+        - DBIC_TRACE=1
+        - DBIC_TRACE_PROFILE=console_monochrome
+
 # sourcing the files is *EXTREMELY* important - otherwise
 # no envvars will survive