Fix macOS on Travis again

This commit is contained in:
Guillaume Ayoub 2018-06-26 11:41:35 +02:00
parent 9a5394f1d1
commit 136587bff6
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget "https://github.com/Kozea/Ahem/blob/master/Ahem.ttf?raw=true" -O /Library/Fonts/Ahem.ttf; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap caskroom/fonts; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install font-dejavu-sans cairo pango gdk-pixbuf libffi; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade python; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask install font-dejavu-sans; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install cairo pango gdk-pixbuf libffi; fi
install:
# First line needed because of https://github.com/pypa/setuptools/pull/1089