From 33554635d476ceac44298d343123cacf96022ac0 Mon Sep 17 00:00:00 2001 From: Olivier Mangin Date: Fri, 2 Mar 2018 14:11:57 -0500 Subject: [PATCH] Upgrade python if install fails. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5fdfe4b..2b1ccc1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,8 @@ matrix: - "3" before_install: - brew update - - brew install python3 + - brew outdated python3 || brew install python3 || brew upgrade python3 + - pip install -U virtualenv - virtualenv env -p python3 - source env/bin/activate # command to install dependencies