Add PyPy test matrix support

Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
This commit is contained in:
Aleksi Häkli 2019-02-23 20:53:15 +02:00
parent b04f11fc1f
commit b6a073d6ac
No known key found for this signature in database
GPG key ID: 3E7146964D726BBE
3 changed files with 8 additions and 3 deletions

View file

@ -2,6 +2,7 @@ dist: xenial
language: python
cache: pip
python:
- pypy3.5
- 3.5
- 3.6
- 3.7
@ -12,6 +13,8 @@ env:
- DJANGO=master
matrix:
exclude:
- python: pypy3.5
env: DJANGO=master
- python: 3.5
env: DJANGO=master
allow_failures:
@ -19,6 +22,7 @@ matrix:
env: DJANGO=master
- python: 3.7
env: DJANGO=master
fast_finish: true
install: pip install tox-travis codecov
script: tox
after_success:

View file

@ -1,6 +1,6 @@
-e .
coverage==4.5.2
mypy==0.670
mypy==0.670 ; platform_python_implementation != 'PyPy'
prospector==1.1.6.2
pytest==4.3.0
pytest-cov==2.6.1

View file

@ -1,10 +1,11 @@
[tox]
envlist =
py{35,36,37}-django{111,20,21}
py{py3,35,36,37}-django{111,20,21}
py{36,37}-djangomaster
[travis]
python =
pypy3.5: pypy3
3.5: py35
3.6: py36
3.7: py37
@ -27,6 +28,6 @@ usedevelop = True
commands =
pytest
prospector
mypy axes
py{35,36,37}: mypy axes
setenv =
PYTHONDONTWRITEBYTECODE=1