From 4ffeb5375b2f7abf3b4754dec478fa22e699859e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edoardo=20Apr=C3=A0?= Date: Thu, 14 Jun 2018 11:45:09 -0700 Subject: [PATCH] adding universe repository to fix travis gfortran failure --- travis/build_env.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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