Skip to content

Commit

Permalink
fix travis on 5.10, 5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
karenetheridge committed May 17, 2020
1 parent aaf1cf9 commit aff9037
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -21,6 +21,7 @@ before_install:
- build-perl
- perl -V
install:
- perl -M5.014 -e1 2>/dev/null || cpan-install Dist::Zilla@5.048
- cpan-install --deps # installs prereqs, including recommends
- cpan-install --coverage # installs converage prereqs, if enabled
before_script:
Expand Down
3 changes: 3 additions & 0 deletions t/prereqs.t
Expand Up @@ -10,6 +10,9 @@ use CPAN::Meta;

require Dist::Zilla; # for VERSION

plan skip_all => '$cwd needs to be $zilla->root for these tests (requires Dist::Zilla 6.003)'
if not eval { Dist::Zilla->VERSION('6.003') };

my $root = 'corpus/DZ';
my $dz_version = min( 5, int( Dist::Zilla->VERSION ) );

Expand Down

0 comments on commit aff9037

Please sign in to comment.