Skip to content

CI: Fail when failed to install dependencies #16112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,16 @@ before_install: |
export PATH=/usr/lib/ccache:$PATH
;;
osx)
set -e
ci/silence brew update
brew uninstall numpy gdal postgis
brew unlink python@2
brew upgrade python
brew install ffmpeg imagemagick mplayer ccache font-wenquanyi-zen-hei
brew install ffmpeg imagemagick mplayer ccache
hash -r
which python
python --version
set +e
# We could install ghostscript and inkscape here to test svg and pdf
# but this makes the test time really long.
# brew install ghostscript inkscape
Expand All @@ -128,6 +131,8 @@ install:
- |
# Install dependencies from PyPI.
python -mpip install --upgrade $PRE -r requirements/testing/travis_all.txt $EXTRAREQS $PINNEDVERS
- |
# Install optional dependencies from PyPI.
# GUI toolkits are pip-installable only for some versions of Python so
# don't fail if we can't install them. Make it easier to check whether the
# install was successful by trying to import the toolkit (sometimes, the
Expand Down