From: Karen Etheridge Date: Sun, 26 Apr 2020 17:19:16 +0000 (-0700) Subject: simplify travis config X-Git-Tag: v0.006022~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-Declare.git;a=commitdiff_plain;h=466ba22849f9f3caad99545287e8d13a7bcf8803 simplify travis config 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. --- diff --git a/.travis.yml b/.travis.yml index 8985e18..f8d0dc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,37 +4,36 @@ addons: - 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