travis: get pyenv from upstream repo

Jython 2.7.1b3 can now be downloaded from the official yyuu/pyenv repository.

https://github.com/yyuu/pyenv/pull/577
This commit is contained in:
Cosimo Lupo 2016-04-15 16:56:13 +01:00
parent 910166be11
commit edb9c721ae

View File

@ -38,7 +38,7 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then
else
# on Linux, we only need pyenv to get the latest pypy and jython
if [[ "${TOXENV}" == "pypy" || "${TOXENV}" == "jython" ]]; then
git clone https://github.com/anthrotype/pyenv.git ~/.pyenv
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"