aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/run.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/run.sh')
-rwxr-xr-x.travis/run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis/run.sh b/.travis/run.sh
index 1efbd60b..17358655 100755
--- a/.travis/run.sh
+++ b/.travis/run.sh
@@ -16,6 +16,13 @@ if [[ "$(uname -s)" == "Darwin" ]]; then
# CommonCrypto when we test against brew OpenSSL
export TOX_FLAGS="--backend=openssl"
fi
+else
+ if [[ "${TOXENV}" == "pypy" ]]; then
+ PYENV_ROOT="$HOME/.pyenv"
+ PATH="$PYENV_ROOT/bin:$PATH"
+ eval "$(pyenv init -)"
+ pyenv global pypy-2.6.0
+ fi
fi
source ~/.venv/bin/activate
tox -- $TOX_FLAGS