Skip to content

Commit

Permalink
Setup 2.6 and 3.3 via pyenv (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
lmctv authored and reaperhulk committed Sep 13, 2016
1 parent bce310e commit 75d2e71
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,24 @@ if [[ "${TOXENV}" == "pypy" ]]; then
pyenv global pypy-5.3.1
fi

if [[ "${TOXENV}" == "py26" ]]; then
rm -rf ~/.pyenv
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv install 2.6.9
pyenv global 2.6.9
fi

if [[ "${TOXENV}" == "py33" ]]; then
rm -rf ~/.pyenv
git clone https://github.com/yyuu/pyenv.git ~/.pyenv
PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv install 3.3.6
pyenv global 3.3.6
fi

pip install -U tox coveralls

0 comments on commit 75d2e71

Please sign in to comment.