mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-05 06:53:36 +08:00
Upgrading to Xcode 9 & fix OSX/Py3 build failure
* Upgrades to latest stable Xcode (9) * Fixes build error in the OS X/Python 3 build.
This commit is contained in:
parent
1e6172d405
commit
04b41f0304
@ -67,7 +67,7 @@ matrix:
|
|||||||
osx_image: xcode7.3
|
osx_image: xcode7.3
|
||||||
env: PYTHON=2.7 CPP=14 CLANG CMAKE=1
|
env: PYTHON=2.7 CPP=14 CLANG CMAKE=1
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode8.3
|
osx_image: xcode9
|
||||||
env: PYTHON=3.6 CPP=14 CLANG DEBUG=1
|
env: PYTHON=3.6 CPP=14 CLANG DEBUG=1
|
||||||
# Test a PyPy 2.7 build
|
# Test a PyPy 2.7 build
|
||||||
- os: linux
|
- os: linux
|
||||||
@ -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 install python$PY;
|
brew update && brew install python$PY;
|
||||||
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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user