adding universe repository to fix travis gfortran failure

This commit is contained in:
Edoardo Aprà 2018-06-14 11:45:09 -07:00 committed by GitHub
parent caa7ed6d0a
commit 4ffeb5375b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,5 +13,7 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
if [[ "$MPI_IMPL" == "mpich" ]]; then
mpi_bin="mpich" ; mpi_libdev="libmpich-dev"
fi
sudo apt-get -y install python-dev cmake "$mpi_libdev" "$mpi_bin" tcsh make perl subversion
cat /etc/apt/sources.list
sudo add-apt-repository universe && sudo apt update
sudo apt-get -y install gfortran python-dev cmake "$mpi_libdev" "$mpi_bin" tcsh make perl subversion
fi