PERL_CPANM_OPT="$PERL_CPANM_OPT --dev"
- # FIXME inline-upgrade cpanm, work around https://github.com/travis-ci/travis-ci/issues/1477
- cpanm_loc="$(which cpanm)"
- run_or_err "Upgrading cpanm ($cpanm_loc) to latest stable" \
- "wget -q -O $cpanm_loc cpanmin.us && chmod a+x $cpanm_loc"
fi
# Fixup CPANM_OPT to behave more like a traditional cpan client
# the presently installed libs
# Idea stolen from
# https://github.com/kentfredric/Dist-Zilla-Plugin-Prereqs-MatchInstalled-All/blob/master/maint-travis-ci/sterilize_env.pl
-# Only works on 5.12+ (where sitlib was finally properly fixed)
+# Only works on 5.12+ (where sitelib was finally properly fixed)
elif [[ "$CLEANTEST" == "true" ]] && [[ "$POISON_ENV" != "true" ]] && perl -M5.012 -e 1 &>/dev/null ; then
echo_err "$(tstamp) Cleaning precompiled Travis-Perl"
installdeps ExtUtils::MakeMaker ExtUtils::CBuilder Module::Build
fi
- # FIXME - temporary until 1.46 comes out / RT#99747 is fixed
- # insufficient testing of 5.8.3, ned older DBD::SQlite, ribasushi--
- if ! perl -M5.008004 -e 1 &>/dev/null ; then
- installdeps DBI I/IS/ISHIGAKI/DBD-SQLite-1.42.tar.gz
- fi
-
fi
else