aboutsummaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index a3ae63a..5e8a17d 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -17,3 +17,11 @@
set -ev
pip install tox
+if [[ "${TOX_ENV}" == "pypy" ]]; then
+ git clone https://github.com/yyuu/pyenv.git ${HOME}/.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