summaryrefslogtreecommitdiff
path: root/.travis/install.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/install.sh')
-rwxr-xr-x.travis/install.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 40e88df..a90c451 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -4,11 +4,15 @@ set -e
set -x
if [[ -n "$PYENV_VERSION" ]]; then
- if [ ! -e "$HOME/.pyenv" ]; then
- git clone https://github.com/yyuu/pyenv.git ~/.pyenv
+ if [ ! -e "$HOME/.pyenv-xattr/.git" ]; then
+ if [ -e "$HOME/.pyenv-xattr" ]; then
+ rm -rf ~/.pyenv-xattr
+ fi
+ git clone https://github.com/yyuu/pyenv.git ~/.pyenv-xattr
fi
- PYENV_ROOT="$HOME/.pyenv"
+ PYENV_ROOT="$HOME/.pyenv-xattr"
PATH="$PYENV_ROOT/bin:$PATH"
+ hash -r
eval "$(pyenv init -)"
hash -r
pyenv install --list