From 80a2b0078a888f90777d37d80ec6ddb9d8f85c21 Mon Sep 17 00:00:00 2001 From: micbou Date: Sun, 17 Apr 2016 11:01:12 +0200 Subject: [PATCH] Fix pyenv setup on Travis --- ci/travis/travis_install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/travis/travis_install.sh b/ci/travis/travis_install.sh index 79f60367..0060de9d 100644 --- a/ci/travis/travis_install.sh +++ b/ci/travis/travis_install.sh @@ -17,10 +17,11 @@ source ci/travis/travis_install.${TRAVIS_OS_NAME}.sh export PYENV_ROOT="${HOME}/.pyenv" -if [ ! -d "${PYENV_ROOT}" ]; then +if [ ! -d "${PYENV_ROOT}/.git" ]; then git clone https://github.com/yyuu/pyenv.git ${PYENV_ROOT} fi pushd ${PYENV_ROOT} +git fetch --tags git checkout v20160202 popd