Skip to content

Commit 6a6a771

Browse files
committed
Fix usage of cpanm on Travis
Ensure that minimal version of ExtUtils::MakeMaker for cpanm --installdeps --with-configure is present. Without ExtUtils::MakeMaker in version 6.58, MYMETA.json is not generated and so cpanm --with-configure cannot parse needed install dependences.
1 parent 136e85e commit 6a6a771

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ install:
441441
cpanm --quiet --notest --local-lib="$HOME/perl5" local::lib ;
442442
eval $(perl -I"$HOME/perl5/lib/perl5" -Mlocal::lib) ;
443443
fi
444+
- perl '-MExtUtils::MakeMaker 6.58' -e '' || cpanm --quiet --notest ExtUtils::[email protected]
444445
- if [ -n "$DBI_VERSION" ]; then cpanm --quiet --notest DBI@$DBI_VERSION; fi
445446
- cpanm --quiet --notest --skip-satisfied DBI~1.608 Devel::CheckLib~1.12
446447
- cpanm --quiet --notest --skip-satisfied --installdeps --with-configure --with-develop --with-recommends --with-suggests .

0 commit comments

Comments
 (0)