-
Notifications
You must be signed in to change notification settings - Fork 124
/
tox.ini
46 lines (42 loc) · 969 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
43
44
45
46
[tox]
toxworkdir=/tmp/tox/dpaste
skip_missing_interpreters=True
envlist=
readme
coverage_setup
py{36,37,38,39,310}-django-{22,30,31,32}
py{38,39,310}-django-{40}
coverage_report
[testenv]
install_command =
pip install {opts} {packages}
commands=
pytest dpaste
deps=
# Django versions
django-21: django>=2.1,<2.2
django-22: django>=2.2,<3.0
django-30: django>=3.0,<3.1
django-31: django>=3.1,<3.2
django-32: django>=3.2,<4.0
django-40: django>=4.0,<4.1
[testenv:coverage_setup]
skip_install = True
deps = coverage
basepython = python3.6
commands = coverage erase
[testenv:coverage_report]
skip_install = True
deps = coverage
basepython=python3.6
commands=
coverage report
coverage html
[testenv:readme]
skip_install = True
deps =
docutils
Pygments
commands =
rst2html.py --report=info --halt=warning README.rst /dev/null
rst2html.py --report=info --halt=warning CHANGELOG.rst /dev/null