2013-11-26 08:44:36 +11:00
|
|
|
[tox]
|
2013-11-26 21:09:24 +11:00
|
|
|
toxworkdir=/tmp/tox/dpaste
|
2017-01-20 21:53:40 +11:00
|
|
|
skip_missing_interpreters=True
|
2013-11-26 08:44:36 +11:00
|
|
|
envlist=
|
2018-09-18 06:17:23 +10:00
|
|
|
readme
|
2018-03-12 21:59:38 +11:00
|
|
|
coverage_setup
|
2018-09-18 06:17:23 +10:00
|
|
|
py{34,35,36,37}-django-{111,20}
|
2019-05-16 17:44:11 +10:00
|
|
|
py{35,36,37}-django-{21,22}
|
2018-03-12 21:59:38 +11:00
|
|
|
coverage_report
|
2013-11-26 08:44:36 +11:00
|
|
|
|
|
|
|
[testenv]
|
2019-01-25 23:47:00 +11:00
|
|
|
install_command =
|
2016-03-24 00:15:21 +11:00
|
|
|
pip install {opts} {packages}
|
2013-11-26 08:44:36 +11:00
|
|
|
commands=
|
2018-03-12 21:59:38 +11:00
|
|
|
coverage run --append runtests.py
|
2016-03-24 00:15:21 +11:00
|
|
|
deps=
|
|
|
|
# Django versions
|
2018-09-18 06:17:23 +10:00
|
|
|
django-111: django>=1.11,<2.0
|
2018-03-12 21:59:38 +11:00
|
|
|
django-20: django==2.0
|
2018-09-18 06:17:23 +10:00
|
|
|
django-21: django==2.1
|
2019-05-16 17:44:11 +10:00
|
|
|
django-22: django==2.2
|
2018-03-12 21:59:38 +11:00
|
|
|
|
|
|
|
[testenv:coverage_setup]
|
2018-09-18 06:17:23 +10:00
|
|
|
skip_install = True
|
2019-01-25 23:47:00 +11:00
|
|
|
deps = coverage
|
|
|
|
basepython = python3.6
|
|
|
|
commands = coverage erase
|
2017-09-27 19:22:45 +10:00
|
|
|
|
2018-03-12 21:59:38 +11:00
|
|
|
[testenv:coverage_report]
|
2018-09-18 06:17:23 +10:00
|
|
|
skip_install = True
|
2019-01-25 23:47:00 +11:00
|
|
|
deps = coverage
|
2018-03-12 21:59:38 +11:00
|
|
|
basepython=python3.6
|
|
|
|
commands=
|
|
|
|
coverage report
|
|
|
|
coverage html
|
2018-09-18 06:17:23 +10:00
|
|
|
|
|
|
|
[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
|