Commit 04b41f03 by Henry Schreiner Committed by Jason Rhinelander

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.
parent 1e6172d4
...@@ -67,7 +67,7 @@ matrix: ...@@ -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: ...@@ -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
......
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