attempting fix for python in travis xcode8.3 image

This commit is contained in:
Thomas Ferreira de Lima 2018-08-02 01:29:11 -04:00
parent 6f19bed834
commit a24b172c0f
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
1 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ matrix:
- os: osx
osx_image: xcode8.3 # macOS 10.12
env:
- MATRIX_EVAL=""
- MATRIX_EVAL="brew install python2 || brew link --overwrite python@2" # deficient python2 in travis's xcode8.3 (no ssl)
- ARCHFLAGS="-std=c++11"
- os: osx
osx_image: xcode8 # macOS 10.11
@ -80,11 +80,10 @@ before_install:
- rvm install ruby --latest
- gem install dropbox-deployment
- eval "${MATRIX_EVAL}"
- if [[ "$TRAVIS_OS_NAME" == "osx" && ! -x "$(command -v pip)" ]]; then sudo easy_install pip; fi
- pip --version
- sudo pip install --upgrade pip
- pip --version
- pip install --upgrade setuptools wheel
- sudo pip install --upgrade setuptools wheel
- python -c "import distutils.sysconfig as sysconfig; print(sysconfig.__file__)"
install: