mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
33 lines
631 B
INI
33 lines
631 B
INI
[tox]
|
|
envlist =
|
|
py{36,37,38,py3}-django{111,21,22,master}
|
|
|
|
[travis]
|
|
python =
|
|
3.6: py36
|
|
3.7: py37
|
|
3.8: py38
|
|
pypy3: pypy3
|
|
|
|
[travis:env]
|
|
DJANGO =
|
|
1.11: django111
|
|
2.1: django21
|
|
2.2: django22
|
|
master: djangomaster
|
|
|
|
[testenv]
|
|
deps =
|
|
-r requirements.txt
|
|
django111: django>=1.11,<2.0
|
|
django21: django>=2.1,<2.2
|
|
django22: django>=2.2,<2.3
|
|
djangomaster: https://github.com/django/django/archive/master.tar.gz
|
|
usedevelop = True
|
|
commands =
|
|
pytest
|
|
{py36,py37}: mypy axes
|
|
{py36,py37}: prospector
|
|
{py36,py37}: black --check --diff axes
|
|
setenv =
|
|
PYTHONDONTWRITEBYTECODE=1
|