diff --git a/ci/travis-install.bash b/ci/travis-install.bash index 730831f9d..27adf42ec 100755 --- a/ci/travis-install.bash +++ b/ci/travis-install.bash @@ -91,8 +91,11 @@ elif [ "$TRAVIS_BUILD_STAGE_NAME" = "test" ]; then fatal "Unknown os: '$TRAVIS_OS_NAME'" fi # Common installs + if [ "$TRAVIS_DIST" != "trusty" ]; then + TRAVIS_CPAN_REPO=https://cpan.org + fi # Not listing Bit::Vector as slow to install, and only skips one test - yes yes | sudo cpan -M https://cpan.org -fi Unix::Processors Parallel::Forker + yes yes | sudo cpan -M $TRAVIS_CPAN_REPO -fi Unix::Processors Parallel::Forker install-vcddiff else ##############################################################################