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