This commit is contained in:
Jakub Roztocil 2016-02-29 17:09:55 +08:00
parent 73e0455896
commit fee54b04d8

View File

@ -35,6 +35,15 @@ matrix:
- BREW_INSTALL=python3
- TOXENV=py35
install:
- |
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
if [[ -n "$BREW_INSTALL" ]]; then
brew install "$BREW_INSTALL"
fi
sudo pip install tox
fi
script:
- |
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
@ -43,12 +52,6 @@ script:
tox -e "$TOXENV"
fi
install:
- |
if [[ $TRAVIS_OS_NAME == 'osx' && -n "$BREW_INSTALL" ]]; then
brew install "$BREW_INSTALL"
fi
after_success:
- |
if [[ $TRAVIS_PYTHON_VERSION == $NEWEST_PYTHON && $TRAVIS_OS_NAME == 'linux']]; then