Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
Adjusting install/run Travis scripts to use pypy-2.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Aug 13, 2015
1 parent c74a894 commit d910a26
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@
set -ev

pip install tox
if [[ "${TOXENV}" == "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
6 changes: 6 additions & 0 deletions scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@
set -ev

tox -e ${TOX_ENV}
if [[ "${TOXENV}" == "pypy" ]]; then
PYENV_ROOT="${HOME}/.pyenv"
PATH="${PYENV_ROOT}/bin:${PATH}"
eval "$(pyenv init -)"
pyenv global pypy-2.6.0
fi

0 comments on commit d910a26

Please sign in to comment.