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:
Henry Schreiner 2017-10-09 22:47:02 -04:00 committed by Jason Rhinelander
parent 1e6172d405
commit 04b41f0304

View File

@ -67,7 +67,7 @@ matrix:
osx_image: xcode7.3
env: PYTHON=2.7 CPP=14 CLANG CMAKE=1
- os: osx
osx_image: xcode8.3
osx_image: xcode9
env: PYTHON=3.6 CPP=14 CLANG DEBUG=1
# Test a PyPy 2.7 build
- os: linux
@ -138,7 +138,7 @@ before_install:
PY_CMD=python$PYTHON
if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ "$PY" = "3" ]; then
brew install python$PY;
brew update && brew install python$PY;
else
curl -fsSL https://bootstrap.pypa.io/get-pip.py | $PY_CMD - --user
fi