diff --git a/scripts/travis-install.sh b/scripts/travis-install.sh index 28468aa..8bc0f04 100644 --- a/scripts/travis-install.sh +++ b/scripts/travis-install.sh @@ -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";