Really fix @INC munging of the taint test
[dbsrgits/DBIx-Class.git] / .travis.yml
index b1fdcb5..ed2c04e 100644 (file)
@@ -58,6 +58,13 @@ notifications:
     on_success: change
     on_failure: always
 
+# FIXME - This stuff is not yet available for free OSS accounts, sadpanda
+# First paragrah on http://about.travis-ci.org/docs/user/caching/
+#cache:
+#  apt: true
+#  directories:
+#    - /var/cache/apt/archives
+
 language: perl
 
 perl:
@@ -69,28 +76,19 @@ env:
 
 matrix:
   include:
-    # 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
+    # this particular perl is quite widespread
+    - perl: 5.8.8_thr_mb
       env:
-        - CLEANTEST=false
-        - BREWOPTS=""
-        - BREWVER=5.8.3
-        - DBIC_TRACE_PROFILE=console_monochrome
+        - CLEANTEST=true
+        - BREWOPTS="-Duseithreads -Dusemorebits"
+        - BREWVER=5.8.8
 
-    # check CLEANTEST of minimum supported
-    - perl: 5.8.3_nt_mb
+    # so is this one (test a sane CPAN.pm)
+    - perl: 5.12.4_thr_mb
       env:
         - CLEANTEST=true
-        - BREWOPTS="-Dusemorebits"
-        - BREWVER=5.8.3
+        - BREWOPTS="-Duseithreads -Dusemorebits"
+        - BREWVER=5.12.4
 
     # this is the perl suse ships
     - perl: 5.10.0_thr_dbg
@@ -99,22 +97,40 @@ matrix:
         - BREWOPTS="-DDEBUGGING -Duseithreads"
         - BREWVER=5.10.0
 
-    # this particular perl is quite widespread
-    - perl: 5.8.8_thr_mb
+    # CLEANTEST of minimum supported
+    - perl: 5.8.3_nt_mb
       env:
         - CLEANTEST=true
-        - BREWOPTS="-Duseithreads -Dusemorebits"
-        - BREWVER=5.8.8
+        - BREWOPTS="-Dusemorebits"
+        - BREWVER=5.8.3
 
+    # Full Test of minimum supported with threads
+    - perl: 5.8.5_thr
+      env:
+        - CLEANTEST=false
+        - BREWOPTS="-Duseithreads"
+        - BREWVER=5.8.5
+        - DBIC_TRACE_PROFILE=console
+
+    # Full Test of minimum supported without threads
+    - perl: 5.8.3_nt
+      env:
+        - CLEANTEST=false
+        - BREWOPTS=""
+        - BREWVER=5.8.3
+        - DBIC_TRACE_PROFILE=console_monochrome
+
+    ###
     # some permutations of tracing and envvar poisoning
-    - perl: 5.18.1_thr_mb
+
+    - perl: 5.16.2_thr_mb
       env:
         - CLEANTEST=false
         - POISON_ENV=true
         - DBIC_TRACE=1
         - DBIC_MULTICREATE_DEBUG=0
         - BREWOPTS="-Duseithreads -Dusemorebits"
-        - BREWVER=5.18.1
+        - BREWVER=5.16.2
 
     - perl: 5.18
       env:
@@ -122,7 +138,7 @@ matrix:
         - POISON_ENV=true
         - DBIC_TRACE_PROFILE=console
 
-    - perl: 5.18
+    - perl: 5.8
       env:
         - CLEANTEST=true
         - POISON_ENV=true
@@ -135,23 +151,47 @@ matrix:
         - POISON_ENV=true
         - DBIC_TRACE=1
         - DBIC_TRACE_PROFILE=console_monochrome
+        - DBIC_MULTICREATE_DEBUG=0
 
     ###
     # Start of the allow_failures block
 
-    # recentish stable with blead CPAN
-    - perl: devcpan_5.18.1_thr_mb
+    # old threaded with blead CPAN
+    - perl: devcpan_5.8.7_thr
       env:
-        - CLEANTEST=false
+        - CLEANTEST=true
+        - BREWOPTS="-Duseithreads"
+        - BREWVER=5.8.7
+        - DEVREL_DEPS=true
+
+    # 5.10.0 threaded with blead CPAN
+    - perl: devcpan_5.10.0_thr_mb
+      env:
+        - CLEANTEST=true
         - BREWOPTS="-Duseithreads -Dusemorebits"
-        - BREWVER=5.18.1
+        - BREWVER=5.10.0
+        - DEVREL_DEPS=true
+
+    # 5.12.2 with blead CPAN
+    - perl: devcpan_5.12.2_thr
+      env:
+        - CLEANTEST=true
+        - BREWOPTS="-Duseithreads"
+        - BREWVER=5.12.2
         - DEVREL_DEPS=true
 
-    # bleadperl with stock CPAN
-    - perl: bleadperl_thr_mb
+    # recentish threaded stable with blead CPAN
+    - perl: devcpan_5.18.2_thr_mb
       env:
         - CLEANTEST=false
         - BREWOPTS="-Duseithreads -Dusemorebits"
+        - BREWVER=5.18.2
+        - DEVREL_DEPS=true
+
+    # bleadperl with stock CPAN, full depchain test
+    - perl: bleadperl
+      env:
+        - CLEANTEST=true
         - BREWVER=blead
 
     # bleadperl with blead CPAN
@@ -165,8 +205,13 @@ matrix:
 
   # which ones of the above can fail
   allow_failures:
-    - perl: devcpan_5.18.1_thr_mb
-    - perl: bleadperl_thr_mb
+
+    # these run with various dev snapshots - allowed to fail
+    - perl: devcpan_5.8.7_thr
+    - perl: devcpan_5.10.0_thr_mb
+    - perl: devcpan_5.12.2_thr
+    - perl: devcpan_5.18.2_thr_mb
+    - perl: bleadperl
     - perl: devcpan_bleadperl_thr_mb