Skip to content

Commit

Permalink
Update the list of Perls to test with.
Browse files Browse the repository at this point in the history
Skip missing Perls, don't stop the whole release process and have to do it over again.
  • Loading branch information
schwern committed Nov 9, 2011
1 parent baefbaf commit cc02953
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile.PL
Expand Up @@ -116,13 +116,20 @@ MAKE
$make =~ s{\s+\z}{\n};

my @perls = qw(
perl5.12.1
perl5.14.1
perl5.12.4
perl5.12.3
perl5.10.1
perl5.10.0
perl5.8.9
perl5.6.2
);

for my $perl (@perls) {
if( !`which $perl` ) {
print STDERR "Missing $perl";
next;
}
$make .= sprintf <<'END', $perl;
cd $(DISTVNAME) && $(MAKE) clean && %s Makefile.PL && PERL_RELEASING=0 $(MAKE) test $(PASTHRU)
END
Expand Down

0 comments on commit cc02953

Please sign in to comment.