if ! [[ "$CPAN_MIRROR" =~ "http://" ]] ; then
echo_err "Unable to extract primary cpan mirror from PERL_CPANM_OPT - something is wrong"
echo_err "PERL_CPANM_OPT: $PERL_CPANM_OPT"
- CPAN_MIRROR="http://cpan.metacpan.org/"
+ CPAN_MIRROR="https://cpan.metacpan.org/"
PERL_CPANM_OPT="$PERL_CPANM_OPT --mirror $CPAN_MIRROR"
echo_err "Using $CPAN_MIRROR for the time being"
fi
# try CPAN's latest offering if requested
if [[ "$DEVREL_DEPS" == "true" ]] ; then
- if [[ "$CLEANTEST" == "true" ]] ; then
- echo_err "DEVREL_DEPS combined with CLEANTEST makes no sense - it is only possible with cpanm"
- exit 1
- fi
-
PERL_CPANM_OPT="$PERL_CPANM_OPT --dev"
# FIXME inline-upgrade cpanm, work around https://github.com/travis-ci/travis-ci/issues/1477