8000 Merge pull request #16112 from Kojoley/ci-travis-fail-when-dep-instal… · matplotlib/matplotlib@c1fba63 · GitHub
[go: up one dir, main page]

Skip to content

Commit c1fba63

Browse files
NelleVKojoley
authored andcommitted
Merge pull request #16112 from Kojoley/ci-travis-fail-when-dep-install-fails
CI: Fail when failed to install dependencies
1 parent 5b684c4 commit c1fba63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,10 @@ before_install:
125125
export PATH=$PATH:/tmp/λ
126126
export PATH=/usr/lib/ccache:$PATH
127127
else
128+
set -e
128129
brew update
129130
brew tap homebrew/gui
131+
set +e
130132
# brew install python libpng ffmpeg imagemagick mplayer ccache
131133
# We could install ghostscript and inkscape here to test svg and pdf
132134
# but this makes the test time really long.
@@ -159,6 +161,8 @@ install:
159161
$PYPARSING \
160162
$DATEUTIL \
161163
$SPHINX
164+
- |
165+
# Install optional dependencies from PyPI.
162166
# GUI toolkits are pip-installable only for some versions of Python so
163167
# don't fail if we can't install them. Make it easier to check whether the
164168
# install was successful by trying to import the toolkit (sometimes, the

0 commit comments

Comments
 (0)
0