The travis-perl helpers do not seem to be helping here -- the split build
feature seems to have some artifacts bleeding over -- e.g. see the attempt to
install B::Hooks::OP::Check::Install::Files, which occurs even before
Makefile.PL is run, at https://travis-ci.org/github/p5sagit/Devel-Declare/jobs/
679765553
Unfortunately we also lose the ability to test on blead and latest point
release with this change.
- aspell
- aspell-en
language: perl
-perl:
- - blead # builds perl from git
- - dev # latest point release
- - "5.30"
- - "5.28"
- - "5.26"
- - "5.24"
- - "5.22"
- - "5.20"
- - "5.18"
- - "5.16"
- - "5.14"
- - "5.12"
- - "5.10"
- - "5.8"
+matrix:
+ include:
+ - perl: "5.30"
+ - perl: "5.28"
+ - perl: "5.26"
+ - perl: "5.24"
+ - perl: "5.22"
+ - perl: "5.20"
+ dist: trusty
+ - perl: "5.18"
+ dist: trusty
+ - perl: "5.16"
+ dist: trusty
+ - perl: "5.14"
+ dist: trusty
+ - perl: "5.12"
+ dist: trusty
+ - perl: "5.10"
+ dist: trusty
+ - perl: "5.8"
+ dist: trusty
env:
global:
- AUTHOR_TESTING=1
- AUTOMATED_TESTING=1
- RELEASE_TESTING=0
before_install:
- - git clone git://github.com/travis-perl/helpers ~/travis-perl-helpers
- - source ~/travis-perl-helpers/init
- - build-perl
- perl -V
- - cpan-install B::Hooks::OP::Check ExtUtils::Depends
- - build-dist
- - cd $BUILD_DIR
-install:
- - cpan-install --deps
+ - cpanm B::Hooks::OP::Check ExtUtils::Depends
script:
- perl Makefile.PL
- make
- - prove -b -r -s -j$(test-jobs) $(test-files)
+ - prove -b -r t