(travis) Make sure we really test everything when using cpanm (devrels)
Peter Rabbitson [Thu, 7 Jan 2016 15:55:46 +0000 (16:55 +0100)]
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)

maint/travis-ci_scripts/20_install.bash

index 45b2b5e..aab2e7e 100755 (executable)
@@ -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)