mirror of
https://github.com/verilator/verilator.git
synced 2025-01-04 05:37:48 +00:00
Travis: Force CPAN mirror to avoid false failures.
This commit is contained in:
parent
c85589371a
commit
a07f2b3611
@ -80,23 +80,20 @@ elif [ "$TRAVIS_BUILD_STAGE_NAME" = "test" ]; then
|
|||||||
if [ "$M32" = 1 ]; then
|
if [ "$M32" = 1 ]; then
|
||||||
sudo apt-get install lib32z1-dev gcc-multilib g++-multilib
|
sudo apt-get install lib32z1-dev gcc-multilib g++-multilib
|
||||||
fi
|
fi
|
||||||
yes yes | sudo cpan -fi Unix::Processors Parallel::Forker
|
|
||||||
# Not listing Bit::Vector as slow to install, and only skips one test
|
|
||||||
install-vcddiff
|
|
||||||
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
|
||||||
brew update
|
brew update
|
||||||
# brew cask install gtkwave # fst2vcd hangs at launch, so don't bother
|
# brew cask install gtkwave # fst2vcd hangs at launch, so don't bother
|
||||||
brew install ccache perl
|
brew install ccache perl
|
||||||
yes yes | sudo cpan -fi Unix::Processors Parallel::Forker
|
|
||||||
install-vcddiff
|
|
||||||
elif [ "$TRAVIS_OS_NAME" = "freebsd" ]; then
|
elif [ "$TRAVIS_OS_NAME" = "freebsd" ]; then
|
||||||
# fst2vcd fails with "Could not open '<input file>', exiting."
|
# fst2vcd fails with "Could not open '<input file>', exiting."
|
||||||
sudo pkg install -y ccache gmake perl5 python3
|
sudo pkg install -y ccache gmake perl5 python3
|
||||||
yes yes | sudo cpan -fi Unix::Processors Parallel::Forker
|
|
||||||
install-vcddiff
|
|
||||||
else
|
else
|
||||||
fatal "Unknown os: '$TRAVIS_OS_NAME'"
|
fatal "Unknown os: '$TRAVIS_OS_NAME'"
|
||||||
fi
|
fi
|
||||||
|
# Common installs
|
||||||
|
# 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
|
||||||
|
install-vcddiff
|
||||||
else
|
else
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Unknown build stage
|
# Unknown build stage
|
||||||
|
Loading…
Reference in New Issue
Block a user