this is probably the right fix
[p5sagit/Sub-Name.git] / .travis.yml
index e76c90e..5354d74 100644 (file)
@@ -6,33 +6,38 @@ addons:
 language: perl
 perl:
   - "blead"         # builds perl from git
-  - "blead-thr"
-  - "dev"           # latest point release
-  - "dev-thr"
-  - "5.26"
-  - "5.26-thr"
-  - "5.24"
-  - "5.24-thr"
-  - "5.22"
-  - "5.22-thr"
-  - "5.20"
-  - "5.20-thr"
-  - "5.18"
-  - "5.18-thr"
-  - "5.16"
-  - "5.16-thr"
-  - "5.14"
-  - "5.14-thr"
-  - "5.12"
-  - "5.12-thr"
-  - "5.10"
-  - "5.10-thr"
-  - "5.8"
-  - "5.8-thr"
+#  - "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"
+#  - "5.24-thr"
+#  - "5.22"
+#  - "5.22-thr"
+#  - "5.20"
+#  - "5.20-thr"
+#  - "5.18"
+#  - "5.18-thr"
+#  - "5.16"
+#  - "5.16-thr"
+#  - "5.14"
+#  - "5.14-thr"
+#  - "5.12"
+#  - "5.12-thr"
+#  - "5.10"
+#  - "5.10-thr"
+#  - "5.8"
+#  - "5.8-thr"
 matrix:
   allow_failures:
     - perl: blead
-    - perl: blead-thr
+#    - perl: blead-thr
+  fast_finish: 1
   include:
     # modules required for author testing do not build on 5.6
     - perl: "5.6.2"
@@ -52,6 +57,9 @@ before_install:
   - build-dist
   - cd $BUILD_DIR
 install:
+  - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
+  - perl -M5.008 -e1 2>/dev/null || cpan-install Scalar::Util@1.52
+  - perl -MScalar::Util -e'print qq{global -- in perl $], Scalar::Util is at version $Scalar::Util::VERSION\n}'
   - cpan-install --deps
 script:
   - perl Makefile.PL