Travis CI: Fix pypy3 job

This commit is contained in:
desbma
2019-01-14 12:47:23 +01:00
parent 71ab53772f
commit a67efed90f
+5 -5
View File
@@ -15,20 +15,20 @@ matrix:
- python: "3.7" - python: "3.7"
- python: "3.7-dev" - python: "3.7-dev"
- python: "3.8-dev" - python: "3.8-dev"
- python: "pypy3" - python: "pypy3.5"
env: PYPY3_PYTHON_VERSION=3.5 PYPY3_VERSION=6.0.0 PYPY3_SHA256=07f16282d126abfa759702baea869b0f661aa97f4c553ebec66c624bda28155f env: PYPY3_PYTHON_VERSION=3.5 PYPY3_VERSION=6.0.0 PYPY3_SHA256=07f16282d126abfa759702baea869b0f661aa97f4c553ebec66c624bda28155f
allow_failures: allow_failures:
- python: "3.5-dev" - python: "3.5-dev"
- python: "3.6-dev" - python: "3.6-dev"
- python: "3.7-dev" - python: "3.7-dev"
- python: "3.8-dev" - python: "3.8-dev"
- python: "pypy3" - python: "pypy3.5"
fast_finish: true fast_finish: true
before_install: before_install:
- "sudo apt-get -q update" - "sudo apt-get -q update"
- "if [ $TRAVIS_PYTHON_VERSION != 'pypy3' ]; then pip install -U pip; fi" - "if [ $TRAVIS_PYTHON_VERSION != 'pypy3.5' ]; then pip install -U pip; fi"
- "if [ $TRAVIS_PYTHON_VERSION = 'pypy3' ]; then mkdir -p ~/.cache/pypy && echo $PYPY3_SHA256 ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 | sha256sum --status -c || curl -f -L https://bitbucket.org/squeaky/portable-pypy/downloads/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 > ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2; fi" - "if [ $TRAVIS_PYTHON_VERSION = 'pypy3.5' ]; then mkdir -p ~/.cache/pypy && echo $PYPY3_SHA256 ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 | sha256sum --status -c || curl -f -L https://bitbucket.org/squeaky/portable-pypy/downloads/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 > ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2; fi"
- "if [ $TRAVIS_PYTHON_VERSION = 'pypy3' ]; then echo $PYPY3_SHA256 ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 | sha256sum --status -c && tar -xjf ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 -C ~ && deactivate && ~/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable/bin/virtualenv-pypy ~/pypy3-venv && . ~/pypy3-venv/bin/activate; fi" - "if [ $TRAVIS_PYTHON_VERSION = 'pypy3.5' ]; then echo $PYPY3_SHA256 ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 | sha256sum --status -c && tar -xjf ~/.cache/pypy/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable.tar.bz2 -C ~ && deactivate && ~/pypy$PYPY3_PYTHON_VERSION-$PYPY3_VERSION-linux_x86_64-portable/bin/virtualenv-pypy ~/pypy3-venv && . ~/pypy3-venv/bin/activate; fi"
install: install:
# https://pagure.io/python-daemon/issue/18 # https://pagure.io/python-daemon/issue/18
- "pip install docutils" - "pip install docutils"