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