travis/osx - Python3 and tox installations fixed

This commit is contained in:
Guillaume Valadon 2018-03-05 13:39:42 +01:00
parent 8ba1f0914c
commit 09098050d4
1 changed files with 2 additions and 2 deletions

View File

@ -3,8 +3,8 @@ PIP=`which pip || (python --version 2>&1 | grep -q 'Python 2' && which pip2) ||
# Install Python3 on osx
if [ "$TRAVIS_OS_NAME" = "osx" ] && [ ! -z "$TOXENV" ]
then
$PIP install --user -U tox
brew install python3
brew upgrade python
pip3 install tox
exit 0
fi