File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,16 @@ before_install: |
112112 if [[ $TRAVIS_OS_NAME != 'osx' ]]; then
113113 export PATH=/usr/lib/ccache:$PATH
114114 else
115+ set -e
115116 ci/silence brew update
116117 brew uninstall numpy gdal postgis
118+ brew unlink python@2
117119 brew upgrade python
118- brew install ffmpeg imagemagick mplayer ccache font-wenquanyi-zen-hei
120+ brew install ffmpeg imagemagick mplayer ccache
119121 hash -r
120122 which python
121123 python --version
124+ set +e
122125 # We could install ghostscript and inkscape here to test svg and pdf
123126 # but this makes the test time really long.
124127 # brew install ghostscript inkscape
@@ -135,6 +138,8 @@ install:
135138 - |
136139 # Install dependencies from PyPI.
137140 python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS $PINNEDVERS
141+ - |
142+ # Install optional dependencies from PyPI.
138143 # GUI toolkits are pip-installable only for some versions of Python so
139144 # don't fail if we can't install them. Make it easier to check whether the
140145 # install was successful by trying to import the toolkit (sometimes, the
You can’t perform that action at this time.
0 commit comments