Skip to content

Commit

Permalink
Updated .travis.yml.
Browse files Browse the repository at this point in the history
Updated .travis.yml to use the Ubuntu 16.04 (Xenial) build environment.
In this environment perl versions before 5.22 is not available, see
https://travis-ci.community/t/failure-with-perl-5-16-5-18-5-20/2458

Also from Perl 5.22, Module::Build is not in core, see:
https://metacpan.org/pod/release/RJBS/perl-5.22.0-RC2/pod/perldelta.pod
so added that as a before_install dependency in .travis.yml.
  • Loading branch information
hakonhagland committed Jun 24, 2019
1 parent 72cdcd2 commit 4d45f72
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
language: perl
perl:
- "5.12"
- "5.14"
- "5.16"
- "5.18"
- "5.20"
- "5.22"
- "5.24"
- "5.26"
- "5.28"
- "5.30"

before_install:
cpanm -n Devel::Cover::Report::Coveralls
script:
perl Build.PL && ./Build build && cover -test -report coveralls
- cpanm -n Module::Build
- cpanm -n Devel::Cover::Report::Coveralls

script: perl Build.PL && ./Build build && cover -test -report coveralls

0 comments on commit 4d45f72

Please sign in to comment.