mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Add PyPy test matrix support
Signed-off-by: Aleksi Häkli <aleksi.hakli@iki.fi>
This commit is contained in:
parent
b04f11fc1f
commit
b6a073d6ac
3 changed files with 8 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
5
tox.ini
5
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue