Skip to content

Commit

Permalink
Update travis to fix libgfortran.so location without sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsiqueira committed Dec 19, 2016
1 parent 5022817 commit c42407c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ branches:
sudo: false

before_install:
- if [ `uname` == "Linux" ]; then
unset DY_LIBRARY_PATH;
mkdir $HOME/lib;
ln -s /usr/lib/gcc/x86_64-linux-gnu/$(gfortran -dumpversion | cut -f1,2 -d.)/libgfortran.so $HOME/lib;
LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH";
export LD_LIBRARY_PATH; fi
- if [ `uname` == "Darwin" ]; then brew install gcc; fi
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi

Expand Down

0 comments on commit c42407c

Please sign in to comment.