diff --git a/.travis.yml b/.travis.yml index 56682556..d81cd8c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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