Travis CI fix (MacOS, Py3)

This commit is contained in:
Wenzel Jakob 2019-12-31 01:26:40 +01:00
parent f9f3bd711f
commit 2fda9d5dd8
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ before_install:
PY_CMD=python$PYTHON
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ "$PY" = "3" ]; then
brew update && brew upgrade python
brew update && brew unlink python@2 && brew upgrade python
else
curl -fsSL https://bootstrap.pypa.io/get-pip.py | $PY_CMD - --user
fi