Travis: Attempt to install pip on osx

This commit is contained in:
Peter Melnichenko 2016-04-27 23:02:15 +03:00
parent 1745496a07
commit 155ebce687

View File

@ -21,10 +21,11 @@ matrix:
language: generic language: generic
install: install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install pyflakes; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; brew install python; brew install pip; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install pep8; fi - pip install pyflakes
- pip install pep8
script: script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pyflakes .; fi - pyflakes .
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pep8 .; fi - pep8 .
- ./test.sh - ./test.sh