"git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "0e2e003508ab0dfbea8a0f825d3d001b5f4be2cd"
Commit 1ddfacba authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

Fix for Python3 via brew

Apparently with homebrew the correct package for python3 is now just
`python`; python 2 was relegated to 'python@2', and `python3` is an
alias for `python` (which needs to be upgraded rather than installed).
parent 13c08072
...@@ -138,7 +138,7 @@ before_install: ...@@ -138,7 +138,7 @@ before_install:
PY_CMD=python$PYTHON PY_CMD=python$PYTHON
if [ "$TRAVIS_OS_NAME" = "osx" ]; then if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ "$PY" = "3" ]; then if [ "$PY" = "3" ]; then
brew update && brew install python$PY; brew update && brew upgrade python
else else
curl -fsSL https://bootstrap.pypa.io/get-pip.py | $PY_CMD - --user curl -fsSL https://bootstrap.pypa.io/get-pip.py | $PY_CMD - --user
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment