Corrections to .travis.yml from Brian's review

This commit is contained in:
David Stainton 2016-06-20 15:01:19 +00:00 committed by Brian Warner
parent 73c4aa727f
commit 7e10b5d0e5

View File

@ -16,14 +16,10 @@ before_install:
- python misc/build_helpers/show-tool-versions.py
install:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then echo installing on osx...; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew update; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew install python; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew update && brew install python; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then export PATH=/usr/local/bin:$PATH; fi
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo pip install coverage coveralls tox; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install coverage coveralls tox; fi
before_script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo pip install -e .; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install -e .; fi
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo pip install coveralls tox; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then pip install coveralls tox; fi
script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo tox -e coverage; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then tox -e coverage; fi