Scrapy, a fast high-level web crawling & scraping framework for Python.
Use portable pypy directly
Konstantin Lopuhinabb6d0a1c1dd
diff --git a/.travis.yml b/.travis.ymlindex 9c51fafb2..d4f30814d 100644--- a/.travis.yml+++ b/.travis.yml@@ -24,16 +24,10 @@ matrix:install:- |if [ "$TOXENV" = "pypy" ]; then- export PYENV_ROOT="$HOME/.pyenv"- if [ -f "$PYENV_ROOT/bin/pyenv" ]; then- pushd "$PYENV_ROOT" && git pull && popd- else- rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"- fi- # get latest portable PyPy from pyenv directly (thanks to natural version sort option -V)- export PYPY_VERSION=`"$PYENV_ROOT/bin/pyenv" install --list |grep -o -E 'pypy2.7-portable-[0-9][\.0-9]*$' |sort -V |tail -1`- "$PYENV_ROOT/bin/pyenv" install --skip-existing "$PYPY_VERSION"- virtualenv --python="$PYENV_ROOT/versions/$PYPY_VERSION/bin/python" "$HOME/virtualenvs/$PYPY_VERSION"+ export PYPY_VERSION="pypy-5.9-linux_x86_64-portable"+ wget "https://bitbucket.org/squeaky/portable-pypy/downloads/${PYPY_VERSION}.tar.bz2"+ tar -jxf ${PYPY_VERSION}.tar.bz2+ virtualenv --python="$PYPY_VERSION/bin/pypy" "$HOME/virtualenvs/$PYPY_VERSION"source "$HOME/virtualenvs/$PYPY_VERSION/bin/activate"fi- pip install -U tox twine wheel codecov