File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 66- 3.5
77- pypy
88before_install :
9- - |
10- if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
11- export PYENV_ROOT="$HOME/.pyenv"
12- if [ -f "$PYENV_ROOT/bin/pyenv" ]; then
13- cd "$PYENV_ROOT" && git pull
14- else
15- rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"
16- fi
17- export PYPY_VERSION="4.0.1"
18- "$PYENV_ROOT/bin/pyenv" install "pypy-$PYPY_VERSION"
19- virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
20- source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
21- fi
9+ - " if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy-5.8-1-linux_x86_64-portable.tar.bz2 && tar -jxvf pypy-5.8-1-linux_x86_64-portable.tar.bz2 && echo 'Setting up aliases...' && export PATH=$HOME/pypy-5.8-1-linux_x86_64-portable/bin/:$PATH && ln -s ~/pypy-5.8-1-linux_x86_64-portable/bin/pypy ~/bin/python && echo 'Setting up pip...' && pypy-5.8-1-linux_x86_64-portable/bin/pypy -m ensurepip ; fi"
10+ - " if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then deactivate && wget https://bitbucket.org/squeaky/portable-pypy/downloads/pypy3.5-5.8-1-beta-linux_x86_64-portable.tar.bz2 && tar -jxvf pypy3.5-5.8-1-beta-linux_x86_64-portable.tar.bz2 && echo 'Setting up aliases...' && export PATH=$HOME/pypy3.5-5.8-1-beta-linux_x86_64-portable/bin/:$PATH && ln -s ~/pypy3.5-5.8-1-beta-linux_x86_64-portable/bin/pypy3.3 ~/bin/python && echo 'Setting up pip...' && pypy3.5-5.8-1-beta-linux_x86_64-portable/bin/pypy -m ensurepip && ln -s ~/pypy3.5-5.8-1-beta-linux_x86_64-portable/bin/pip3.3 ~/bin/pip ; fi"
2211install :
2312- |
2413 if [ "$TEST_TYPE" = build ]; then
You can’t perform that action at this time.
0 commit comments