Skip to content

Commit b01f625

Browse files
committed
ci: Update travis to fix "libintl" loading error
See #112
1 parent 85d33d5 commit b01f625

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ cache:
2525
- $HOME/downloads
2626

2727
before_install:
28+
- |
29+
# Workaround the following error occuring because python installation is cached but gettext dependency is not
30+
# dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
31+
# Referenced from: /Users/travis/.pyenv/versions/3.7.2/bin/python
32+
# Reason: Incompatible library version: python requires version 11.0.0 or later, but libintl.8.dylib provides version 10.0.0
33+
if [[ "$TRAVIS_OS_NAME" == "osx" && "${PYTHON_VERSION}" == "3.7.8" ]]; then
34+
brew install gettext
35+
fi
2836
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mkdir $HOME/bin; ln -s $(which pip2) $HOME/bin/pip; ln -s $(which python2) $HOME/bin/python; fi
2937
- python scripts/ssl-check.py
3038
- python -m pip install --disable-pip-version-check --upgrade pip

0 commit comments

Comments
 (0)