From: Dagfinn Ilmari Mannsåker Date: Wed, 6 Aug 2014 16:06:33 +0000 (+0100) Subject: Add --verify to PERL_CPANM_OPT to catch corrupt tarballs X-Git-Tag: 0.07041~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7829f5ced215a6c7e9b1d048d62fdfbf3c464c27;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Add --verify to PERL_CPANM_OPT to catch corrupt tarballs <@ribasushi> ilmari: experiment with mirrors <@ribasushi> the metacpan proxy of the download part (why?!) is sometimes giving back shortened tarballs, which happen to extract fine <@ribasushi> but the source is in fact fucked --- diff --git a/maint/travis-ci_scripts/20_install.bash b/maint/travis-ci_scripts/20_install.bash index 79e75cd..34ebc14 100755 --- a/maint/travis-ci_scripts/20_install.bash +++ b/maint/travis-ci_scripts/20_install.bash @@ -26,7 +26,7 @@ if [[ "$DEVREL_DEPS" == "true" ]] ; then fi # Fixup CPANM_OPT to behave more like a traditional cpan client -export PERL_CPANM_OPT="--verbose --no-interactive --no-man-pages $( echo $PERL_CPANM_OPT | sed 's/--skip-satisfied//' )" +export PERL_CPANM_OPT="--verify --verbose --no-interactive --no-man-pages $( echo $PERL_CPANM_OPT | sed 's/--skip-satisfied//' )" if [[ -n "$BREWVER" ]] ; then # since perl 5.14 a perl can safely be built concurrently with -j$large