Adjusting install/run Travis scripts to use pypy-2.6.

Adapted from
5e885db2e7/.travis.yml
5e885db2e7/.travis
This commit is contained in:
Danny Hermes
2015-08-13 14:55:27 -07:00
parent c74a894534
commit 3a67e9355e
2 changed files with 14 additions and 0 deletions

View File

@@ -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

View File

@@ -16,4 +16,10 @@
set -ev
if [[ "${TOX_ENV}" == "pypy" ]]; then
PYENV_ROOT="${HOME}/.pyenv"
PATH="${PYENV_ROOT}/bin:${PATH}"
eval "$(pyenv init -)"
pyenv global pypy-2.6.0
fi
tox -e ${TOX_ENV}