mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-04 07:18:27 +01:00
travis: use pyenv to install python on osx
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -4,8 +4,11 @@ set -x
|
||||
set -e
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
brew update
|
||||
brew upgrade python
|
||||
# NOTE: used to install and run our style checking tools
|
||||
osx_python_ver=3.6.2
|
||||
eval "$(pyenv init -)"
|
||||
pyenv install --skip-existing --keep --verbose $osx_python_ver
|
||||
pyenv shell $osx_python_ver
|
||||
python --version
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user