8000 CI: backport osx on travis changes en-mass · matplotlib/matplotlib@c9e2a06 · GitHub
[go: up one dir, main page]

Skip to content

Commit c9e2a06

Browse files
committed
CI: backport osx on travis changes en-mass
This will move testing on travis to python3 (from python2), however I am not sure it is worth the effort of moving brew on travis back to python2 so that we can in very short order delete this branch and close out the 2.2.x series (now that python2 is EOL).
1 parent c1fba63 commit c9e2a06

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.travis.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,19 @@ before_install:
126126
export PATH=/usr/lib/ccache:$PATH
127127
else
128128
set -e
129-
brew update
130-
brew tap homebrew/gui
129+
ci/silence brew update
130+
brew uninstall numpy gdal postgis
131+
brew unlink python@2
132+
brew upgrade python
133+
brew install ffmpeg imagemagick mplayer ccache
134+
hash -r
135+
which python
136+
python --version
131137
set +e
132-
# brew install python libpng ffmpeg imagemagick mplayer ccache
133138
# We could install ghostscript and inkscape here to test svg and pdf
134139
# but this makes the test time really long.
135140
# brew install ghostscript inkscape
136-
export PATH=/usr/local/opt/ccache/libexec:$PATH
141+
export PATH=/usr/local/opt/python/libexec/bin:/usr/local/opt/ccache/libexec:$PATH
137142
fi
138143
139144
install:

0 commit comments

Comments
 (0)
0