Skip to content

Commit b573c78

Browse files
committed
Attempt to fix macos travis builds
1 parent 812056b commit b573c78

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,18 @@ before_install:
7676
brew update >/dev/null;
7777
brew tap homebrew/science;
7878
brew install hdf5@${H5_BREW};
79+
# https://github.com/laumann/compiletest-rs/issues/179
80+
export DYLD_LIBRARY_PATH="/usr/lib:/usr/local/lib";
81+
brew unlink jpeg giflib libpng libtiff
7982
fi
8083
- |
8184
if [ ! -z "$H5_CONDA" ]; then
8285
if [ `uname` = "Darwin" ]; then
8386
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
8487
# note: this is only required for older HDF5 installations on OS X
8588
export DYLD_FALLBACK_LIBRARY_PATH="$HOME/miniconda/envs/testenv/lib";
89+
# https://github.com/laumann/compiletest-rs/issues/179
90+
export DYLD_LIBRARY_PATH="$HOME/miniconda/envs/testenv/lib";
8691
else
8792
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
8893
fi

0 commit comments

Comments
 (0)