From e029ba845e3c722155dcb52b28fc9fd0b73e5856 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 6 Aug 2020 17:50:49 -0400 Subject: [PATCH] Travis: Trusty must use default CPAN --- ci/travis-install.bash | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 ##############################################################################