From fee54b04d8adeff4b696ac97060c746b1cc8f695 Mon Sep 17 00:00:00 2001 From: Jakub Roztocil Date: Mon, 29 Feb 2016 17:09:55 +0800 Subject: [PATCH] Travis --- .travis.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index bcb007ec..a6c33017 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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