Skip to content

Commit

Permalink
Travis-CI: use perl Makefile.PL directly
Browse files Browse the repository at this point in the history
The Travis-CI helper's build-dist command uses Perl 5.20 for running
every build run. By switching that out and running `Makefile.PL`
directly, the run uses the Perl version specific to that run.
  • Loading branch information
zmughal committed Mar 14, 2015
1 parent d751ac7 commit 78c13ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -43,7 +43,7 @@ before_install:
- perl -V
- cpanm --quiet --notest ExtUtils::F77 Term::ReadLine::Gnu PGPLOT # do not need tests
- cpanm --force --verbose ExtUtils::ParseXS # we install the latest ExtUtils::ParseXS
- build-dist
- export BUILD_DIR="$(pwd)/build_dir"; perl Makefile.PL DISTVNAME=$BUILD_DIR # instead of the helper's build-dist
- cd $BUILD_DIR # $BUILD_DIR is set by the build-dist command
install:
- cpan-install --deps # installs prereqs, including recommends
Expand Down

0 comments on commit 78c13ab

Please sign in to comment.