overcome "weaken is only available with the XS version of Scalar::Util" on 5.6
[p5sagit/Sub-Name.git] / .travis.yml
index d3cc3e2..4a70836 100644 (file)
@@ -1,4 +1,3 @@
-sudo: false
 addons:
   apt:
     packages:
@@ -10,6 +9,10 @@ perl:
   - "blead-thr"
   - "dev"           # latest point release
   - "dev-thr"
+  - "5.30"
+  - "5.30-thr"
+  - "5.28"
+  - "5.28-thr"
   - "5.26"
   - "5.26-thr"
   - "5.24"
@@ -34,6 +37,7 @@ matrix:
   allow_failures:
     - perl: blead
     - perl: blead-thr
+  fast_finish: 1
   include:
     # modules required for author testing do not build on 5.6
     - perl: "5.6.2"
@@ -46,6 +50,8 @@ env:
     - AUTOMATED_TESTING=1
     - RELEASE_TESTING=0
 before_install:
+  - perl -MScalar::Util -e'print qq{Scalar::Util is at version $Scalar::Util::VERSION\n}'
+  - perl -M5.008 -e1 2>/dev/null || cpan-install Scalar::Util@1.52
   - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
   - source ~/travis-perl-helpers/init
   - build-perl