Travis: upgrade python if it's already installed

This commit is contained in:
Unrud 2018-04-20 15:10:04 +02:00 committed by Unrud
parent b16fac2cad
commit b41d33bcdf

View File

@ -15,7 +15,7 @@ matrix:
language: generic language: generic
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install python3 || brew upgrade python3; fi
install: install:
- pip3 install --upgrade --editable .[test,md5,bcrypt] - pip3 install --upgrade --editable .[test,md5,bcrypt]