Travis: install pip manually on OSX

This commit is contained in:
Corentin Wallez 2017-12-01 11:51:06 -05:00 committed by Corentin Wallez
parent e3b1f51c04
commit 3cf6c9df0c
1 changed files with 2 additions and 1 deletions

View File

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