Adjusting install/run Travis scripts to use pypy-2.6.
Adapted from5e885db2e7/.travis.yml5e885db2e7/.travis
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user