File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,13 +104,16 @@ before_install: |
104104 export PATH=/usr/lib/ccache:$PATH
105105 ;;
106106 osx)
107+ set -e
107108 ci/silence brew update
108109 brew uninstall numpy gdal postgis
110+ brew unlink python@2
109111 brew upgrade python
110- brew install ffmpeg imagemagick mplayer ccache font-wenquanyi-zen-hei
112+ brew install ffmpeg imagemagick mplayer ccache
111113 hash -r
112114 which python
113115 python --version
116+ set +e
114117 # We could install ghostscript and inkscape here to test svg and pdf
115118 # but this makes the test time really long.
116119 # brew install ghostscript inkscape
@@ -128,6 +131,8 @@ install:
128131 - |
129132 # Install dependencies from PyPI.
130133 python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS $PINNEDVERS
134+ - |
135+ # Install optional dependencies from PyPI.
131136 # GUI toolkits are pip-installable only for some versions of Python so
132137 # don't fail if we can't install them. Make it easier to check whether the
133138 # install was successful by trying to import the toolkit (sometimes, the
You can’t perform that action at this time.
0 commit comments