aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/install.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/install.sh')
-rwxr-xr-x.travis/install.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.travis/install.sh b/.travis/install.sh
index 9db27437..a046a5d8 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -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