Clear pyenv installation before installing pyenv

This commit is contained in:
Markus Unterwaditzer 2017-05-31 18:54:29 +02:00
parent 7dcd4d5118
commit c3cefd7046

View file

@ -6,8 +6,9 @@
# upgrade
# Taken from werkzeug, which took it from pyca/cryptography
if [ "$TRAVIS_PYTHON_VERSION" = "pypy3" ]; then
git clone https://github.com/yyuu/pyenv.git ~/.pyenv;
PYENV_ROOT="$HOME/.pyenv";
rm -rf "$PYENV_ROOT";
git clone https://github.com/yyuu/pyenv.git "$PYENV_ROOT";
PATH="$PYENV_ROOT/bin:$PATH";
eval "$(pyenv init -)";
pypyversion="pypy3.5-5.7-beta";