forked from rpkilby/jsonfield
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
35 lines (30 loc) · 743 Bytes
/
tox.ini
File metadata and controls
35 lines (30 loc) · 743 Bytes
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
[tox]
envlist =
py{36,37,38}-django22,
py{36,37,38}-django30,
isort,lint,dist,warnings,
[testenv]
commands = coverage run --parallel-mode manage.py test {posargs}
usedevelop = True
envdir={toxworkdir}/v/{envname}
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
coverage
django22: Django~=2.2.0
django30: Django~=3.0.0
[testenv:isort]
commands = isort --check-only --recursive jsonfield tests {posargs:--diff}
deps =
isort
[testenv:lint]
commands = flake8 jsonfield tests {posargs}
deps =
flake8
[testenv:dist]
commands = python manage.py test {posargs}
usedevelop = False
[testenv:warnings]
commands = python -Werror manage.py test {posargs}
deps =
https://github.com/django/django/archive/master.tar.gz