travis: use pyenv shell

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-02-08 22:20:41 +02:00
parent e22da1e957
commit 05bd4d4dc4
+1 -1
View File
@@ -61,5 +61,5 @@ fi
if [[ -n "$PYTHON_VER" ]]; then
eval "$(pyenv init -)"
pyenv install --skip-existing --keep --verbose "$PYTHON_VER"
echo "pyenv global $PYTHON_VER" >> env.sh
echo "pyenv shell $PYTHON_VER" >> env.sh
fi