From b34aa512ead1e4170aebd447e5fed019eaf84cad Mon Sep 17 00:00:00 2001 From: Abel Soares Siqueira Date: Mon, 19 Dec 2016 18:01:50 -0200 Subject: [PATCH] Update travis to fix libgfortran.so location --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7b5b86cb..fa842210 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,9 +29,12 @@ branches: - master - develop -sudo: false +sudo: required before_install: + - if [ `uname` == "Linux" ]; then + unset DY_LIBRARY_PATH; + sudo ln -s /usr/lib/gcc/x86_64-linux-gnu/$(gfortran -dumpversion | cut -f1,2 -d.)/libgfortran.so /usr/local/lib; fi - if [ `uname` == "Darwin" ]; then brew install gcc; fi - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi