Skip to content

Commit

Permalink
Add pypy3.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Sep 25, 2018
1 parent eac35b7 commit 1f498a5
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
10 changes: 8 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,18 @@ matrix:
sudo: required
env:
- TOXENV=py37-nocov
- python: 'pypy-5.4'
- python: 'pypy'
env:
- TOXENV=pypy-cover,report,coveralls,codecov
- python: 'pypy-5.4'
- python: 'pypy'
env:
- TOXENV=pypy-nocov
- python: 'pypy3'
env:
- TOXENV=pypy3-cover,report,coveralls,codecov
- python: 'pypy3'
env:
- TOXENV=pypy3-nocov
before_install:
- python --version
- uname -a
Expand Down
3 changes: 2 additions & 1 deletion ci/templates/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
envlist =
clean,
check,
{py27,py35,py36,py37,pypy}-{cover,nocov},
{py27,py35,py36,py37,pypy,pypy3}-{cover,nocov},
report,

[testenv]
basepython =
pypy: {env:TOXPYTHON:pypy}
pypy3: {env:TOXPYTHON:pypy3}
py27: {env:TOXPYTHON:python2.7}
py34: {env:TOXPYTHON:python3.4}
py35: {env:TOXPYTHON:python3.5}
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
envlist =
clean,
check,
{py27,py35,py36,py37,pypy}-{cover,nocov},
{py27,py35,py36,py37,pypy,pypy3}-{cover,nocov},
report,

[testenv]
basepython =
pypy: {env:TOXPYTHON:pypy}
pypy3: {env:TOXPYTHON:pypy3}
py27: {env:TOXPYTHON:python2.7}
py34: {env:TOXPYTHON:python3.4}
py35: {env:TOXPYTHON:python3.5}
Expand Down Expand Up @@ -97,3 +98,6 @@ usedevelop = true

[testenv:pypy-cover]
usedevelop = true

[testenv:pypy3-cover]
usedevelop = true

0 comments on commit 1f498a5

Please sign in to comment.