Skip to content

Commit

Permalink
Merge pull request #646 from Radiomics/travis-ci-bug
Browse files Browse the repository at this point in the history
Travis CI Integration
  • Loading branch information
JoostJM authored Oct 1, 2020
2 parents cbb3cab + 9532c33 commit 943756a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ cache:
- $HOME/downloads

before_install:
- |
# Workaround the following error occuring because python installation is cached but gettext dependency is not
# dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
# Referenced from: /Users/travis/.pyenv/versions/3.7.2/bin/python
# Reason: Incompatible library version: python requires version 11.0.0 or later, but libintl.8.dylib provides version 10.0.0
# See https://github.com/scikit-build/cmake-python-distributions/issues/112 and
# https://github.com/scikit-build/cmake-python-distributions/pull/113
brew install gettext
# Workaround the following error occuring because python installation is cached but gettext dependency is not
# dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
# Referenced from: /Users/travis/.pyenv/versions/3.7.2/bin/python
# Reason: Incompatible library version: python requires version 11.0.0 or later, but libintl.8.dylib provides version 10.0.0
# See https://github.com/scikit-build/cmake-python-distributions/issues/112 and
# https://github.com/scikit-build/cmake-python-distributions/pull/113
- brew update
- brew install gettext
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir $HOME/bin; ln -s $(which pip2) $HOME/bin/pip; fi
- pip install scikit-ci scikit-ci-addons
- ci_addons --install ../addons
Expand Down

0 comments on commit 943756a

Please sign in to comment.