mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
travis: activate pyenv
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -62,11 +62,6 @@ matrix:
|
||||
- PYTHON_CONFIGURE_OPTS="--enable-framework"
|
||||
before_install:
|
||||
- bash ./scripts/ci/before_install.sh
|
||||
- if [[ -n "$PYTHON_VER" ]]; then
|
||||
eval "$(pyenv init -)";
|
||||
pyenv install --skip-existing --keep --verbose "$PYTHON_VER";
|
||||
pyenv shell "$PYTHON_VER";
|
||||
fi
|
||||
- source env.sh
|
||||
install:
|
||||
- bash ./scripts/ci/install.sh
|
||||
|
||||
@@ -53,7 +53,13 @@ if [ -n "$TRAVIS_OS_NAME" ] && [ "$TRAVIS_OS_NAME" != "osx" ] \
|
||||
bash "$scriptdir/install_hadoop.sh"
|
||||
fi
|
||||
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||
brew install openssl
|
||||
brew cask install google-cloud-sdk
|
||||
fi
|
||||
|
||||
if [[ -n "$PYTHON_VER" ]]; then
|
||||
eval "$(pyenv init -)"
|
||||
pyenv install --skip-existing --keep --verbose "$PYTHON_VER"
|
||||
echo "pyenv activate $PYTHON_VER" >> env.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user