Use Travis OSX's default pip

easy_install failing to download pip was a major source of flakiness for
OSX builds.
This commit is contained in:
Corentin Wallez 2018-04-06 19:46:21 -04:00 committed by Corentin Wallez
parent 8828f2ad82
commit 33dfd0a78f
1 changed files with 1 additions and 2 deletions

View File

@ -48,12 +48,11 @@ addons:
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then sudo easy_install pip; fi
install:
# Install dependencies required on OSX
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ninja; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pip install --user jinja2; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then pip2 install --user jinja2; fi
script:
# Use the more recent compilers we just installed