summaryrefslogtreecommitdiff
path: root/.travis/install.sh
blob: c37edaae0a0e4ce28189cdc448b708d4637bbc8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e
set -x

if [[ "${TOXENV}" == "pypy" ]]; then
    git clone https://github.com/yyuu/pyenv.git ~/.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

pip install tox