Strawberry Perl 5.24 Makefile.PL Builds Fail #1
In 5.26, Strawberry Perl switched from
- <<: *strawberry env: PERL_VERSION=18.104.22.168 script: - perl Makefile.PL - dmake - dmake test
However, it won't even get this far if dependencies are
install: - cpanm -v --notest --installdeps .
Fails, too, with this error:
@bingos says, "usually that means there is some other perl in the environment interferring. A UNIXy type perl, say a cygwin type perl." And indeed, the Travis CI Windows environment's Chocolatey (or Git-Bash?) environment provides
The text was updated successfully, but these errors were encountered:
Instead of repeating the entire "Strawberry" stage multiple times, once fore each Perl, make a YAML alias to the first instance, and then simply include the alias and add the PER_VERSION environment variable for subsequent instances of the stage. A little opaque to those unfamiliar with the YAML anchor/alias feature (as I was), but definitely cuts down on clutter. To better demonstrate multiple uses, add a third Strawberry stage that tests a third version of Perl. Use a variant of 5.26 again, because 5.24 has issues (see #1 for details). While at it, switch from URI::db to CPAN::Test::Dummy::Perl5::Make as the sample dependency, because it is a no-op with no dependencies of its own, so it keeps things simpler.