diff options
Diffstat (limited to '.travis/install.sh')
-rwxr-xr-x | .travis/install.sh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.travis/install.sh b/.travis/install.sh index 7c3e9de2..a046a5d8 100755 --- a/.travis/install.sh +++ b/.travis/install.sh @@ -35,8 +35,8 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then ;; pypy) brew outdated pyenv || brew upgrade pyenv - pyenv install pypy-2.5.1 - pyenv global pypy-2.5.1 + pyenv install pypy-2.6.0 + pyenv global pypy-2.6.0 ;; pypy3) brew outdated pyenv || brew upgrade pyenv @@ -51,6 +51,15 @@ if [[ "$(uname -s)" == 'Darwin' ]]; then pyenv rehash python -m pip install --user virtualenv else + # temporary pyenv installation to get pypy-2.6 before container infra upgrade + if [[ "${TOXENV}" == "pypy" ]]; then + git clone https://github.com/yyuu/pyenv.git ~/.pyenv + PYENV_ROOT="$HOME/.pyenv" + PATH="$PYENV_ROOT/bin:$PATH" + eval "$(pyenv init -)" + pyenv install pypy-2.6.0 + pyenv global pypy-2.6.0 + fi pip install virtualenv fi |