diff --git a/travis/build_env.sh b/travis/build_env.sh index 356064d3e4..1cbb873044 100755 --- a/travis/build_env.sh +++ b/travis/build_env.sh @@ -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