From c3cefd70467cea18436dd9e69a627ca0a07fd7d3 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 31 May 2017 18:54:29 +0200 Subject: [PATCH] Clear pyenv installation before installing pyenv --- scripts/travis-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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";