Skip to content

Commit

Permalink
Test on pypy3, not pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
ktosiek committed Feb 2, 2020
1 parent 0045dea commit 0eafb8a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,25 @@ python:
- "3.6"
- "3.7"
- "3.8"
- "pypy"
- "pypy3"
env:
- TOX_SUFFIX=pt3
- TOX_SUFFIX=pt4
- TOX_SUFFIX=pt5

install:
# coveralls-python needs a newer setuptools to install from git
- "[[ $TRAVIS_PYTHON_VERSION == pypy ]] || pip install --upgrade setuptools pip"
- "[[ $TRAVIS_PYTHON_VERSION == pypy3 ]] || pip install --upgrade setuptools pip"
# Using the coveralls-python master until parallel builds support is released
# See: https:/coveralls-clients/coveralls-python/commit/7ba3a5
- "[[ $TRAVIS_PYTHON_VERSION == pypy ]] || pip install git+https:/coveralls-clients/coveralls-python"
- "[[ $TRAVIS_PYTHON_VERSION == pypy3 ]] || pip install git+https:/coveralls-clients/coveralls-python"
- pip install tox coverage
- "TOX_ENV=${TRAVIS_PYTHON_VERSION/[0-9].[0-9]/py${TRAVIS_PYTHON_VERSION/.}}-$TOX_SUFFIX"
script:
- tox -e $TOX_ENV
- coverage combine
after_success:
- "[[ $TRAVIS_PYTHON_VERSION == pypy ]] || COVERALLS_PARALLEL=true coveralls"
- "[[ $TRAVIS_PYTHON_VERSION == pypy3 ]] || COVERALLS_PARALLEL=true coveralls"

before_cache:
- rm -rf $HOME/.cache/pip/log
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# For more information about tox, see https://tox.readthedocs.io/en/latest/
[tox]
envlist = {py35,py36,py37,py38,pypy}-{pt3,pt4,pt5},flake8
envlist = {py35,py36,py37,py38,pypy3}-{pt3,pt4,pt5},flake8

[testenv]
deps =
Expand Down

0 comments on commit 0eafb8a

Please sign in to comment.