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-03-12 21:59:38 +11:00
|
|
|
coverage_setup
|
2018-04-29 19:47:24 +10:00
|
|
|
py{34,35,36}-django-{111}
|
2017-09-27 19:22:45 +10:00
|
|
|
py{34,35,36}-django-{20}
|
2018-03-12 21:59:38 +11:00
|
|
|
coverage_report
|
2013-11-26 08:44:36 +11:00
|
|
|
|
|
|
|
[testenv]
|
2018-03-12 21:59:38 +11:00
|
|
|
install_command=
|
2016-03-24 00:15:21 +11:00
|
|
|
pip install {opts} {packages}
|
|
|
|
|
2018-03-12 21:59:38 +11:00
|
|
|
extras=
|
|
|
|
standalone
|
|
|
|
|
2013-11-26 08:44:36 +11:00
|
|
|
commands=
|
2018-03-12 21:59:38 +11:00
|
|
|
coverage run --append runtests.py
|
2013-11-26 08:44:36 +11:00
|
|
|
|
2016-03-24 00:15:21 +11:00
|
|
|
deps=
|
|
|
|
# Django versions
|
2017-04-29 16:53:14 +10:00
|
|
|
django-111: django>=1.11,<1.12
|
2018-03-12 21:59:38 +11:00
|
|
|
django-20: django==2.0
|
|
|
|
|
|
|
|
[testenv:coverage_setup]
|
|
|
|
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]
|
|
|
|
basepython=python3.6
|
|
|
|
commands=
|
|
|
|
coverage report
|
|
|
|
coverage html
|