0.136 of my bundle moved minimum-version.t to xt/author
[p5sagit/Sub-Name.git] / .travis.yml
index c55b75c..d3cc3e2 100644 (file)
@@ -30,17 +30,21 @@ perl:
   - "5.10-thr"
   - "5.8"
   - "5.8-thr"
-  - "5.6.2"
-  - "5.6.2-thr"
+matrix:
+  allow_failures:
+    - perl: blead
+    - perl: blead-thr
+  include:
+    # modules required for author testing do not build on 5.6
+    - perl: "5.6.2"
+      env: AUTHOR_TESTING=0
+    - perl: "5.6.2-thr"
+      env: AUTHOR_TESTING=0
 env:
   global:
     - AUTHOR_TESTING=1
     - AUTOMATED_TESTING=1
     - RELEASE_TESTING=0
-matrix:
-  allow_failures:
-    - perl: blead
-    - perl: blead-thr
 before_install:
   - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
   - source ~/travis-perl-helpers/init
@@ -49,10 +53,8 @@ before_install:
   - build-dist
   - cd $BUILD_DIR
 install:
-  - cpan-install ExtUtils::MakeMaker~6.68 Devel::PPPort~3.33
+  - cpan-install --deps
 script:
   - perl Makefile.PL
   - make
   - prove -b -r -s -j$(test-jobs) $(test-files)
-before_install:
-  - if [ "$TRAVIS_PERL_VERSION" = "5.6.2" ]; then eval $(curl https://travis-perl.github.io/init) --auto; fi