-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (38 loc) · 954 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tox]
envlist =
py{36,37}-django-{111,20,21,22,latest,master}
base,linters
[travis:env]
DJANGO =
1.11: django-111
2.0: django-20
2.1: django-21
2.2: django-22
latest: django-latest
master: django-master
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE = 1
deps =
django-111: Django>=1.11,<2.0
django-20: Django>=2.0,<2.1
django-21: Django>=2.1,<2.2
django-22: Django>=2.2,<3.0
django-latest: Django==2.2.*
django-master: https://github.com/django/django/archive/master.tar.gz
-rrequirements/requirements.txt
-rrequirements/requirements-tests.txt
commands =
pytest --cov {posargs}
[testevn:base]
deps =
django
-rrequirements/requirements-tests.txt
commands =
pytest --cov {posargs}
[testenv:linters]
deps = -rrequirements/requirements-tests.txt
commands =
black names tests setup.py
flake8 names tests setup.py
isort --check-only --diff --recursive names tests