Auto merge of #2120 - micbou:travis-pyenv, r=vheon
[READY] Fix pyenv setup on Travis See PR Valloric/ycmd#460. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2120) <!-- Reviewable:end -->
This commit is contained in:
commit
7f419101fe
@ -17,10 +17,11 @@ source ci/travis/travis_install.${TRAVIS_OS_NAME}.sh
|
|||||||
|
|
||||||
export PYENV_ROOT="${HOME}/.pyenv"
|
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}
|
git clone https://github.com/yyuu/pyenv.git ${PYENV_ROOT}
|
||||||
fi
|
fi
|
||||||
pushd ${PYENV_ROOT}
|
pushd ${PYENV_ROOT}
|
||||||
|
git fetch --tags
|
||||||
git checkout v20160202
|
git checkout v20160202
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user