From: Peter Rabbitson Date: Thu, 7 Jan 2016 15:55:46 +0000 (+0100) Subject: (travis) Make sure we really test everything when using cpanm (devrels) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ab314234bf2ad136f2d6daaf48294139ffc985ee;p=dbsrgits%2FDBIx-Class.git (travis) Make sure we really test everything when using cpanm (devrels) This is to work around https://github.com/miyagawa/cpanminus/issues/462 Note: even if cpanm itself gets fixed, it will take forever for changes to trickle down to various travis builds (currently 4 different configurations) --- diff --git a/maint/travis-ci_scripts/20_install.bash b/maint/travis-ci_scripts/20_install.bash index 45b2b5e..aab2e7e 100755 --- a/maint/travis-ci_scripts/20_install.bash +++ b/maint/travis-ci_scripts/20_install.bash @@ -123,3 +123,7 @@ if [[ "$CLEANTEST" != "true" ]] ; then export DBICTEST_SQLT_DEPLOY=1 fi + +# FIXME - work around https://github.com/miyagawa/cpanminus/issues/462 +# seriously... +perl -p -i -e 's/\blocal\$self->\{notest\}=1;//' $(which cpanm)