mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
47 lines
869 B
INI
47 lines
869 B
INI
[tox]
|
|
toxworkdir=/tmp/tox/dpaste
|
|
skip_missing_interpreters=True
|
|
envlist=
|
|
readme
|
|
coverage_setup
|
|
py{34,35,36,37}-django-{111,20}
|
|
py{35,36,37}-django-{21}
|
|
coverage_report
|
|
|
|
[testenv]
|
|
install_command=
|
|
pip install {opts} {packages}
|
|
|
|
extras=
|
|
standalone
|
|
|
|
commands=
|
|
coverage run --append runtests.py
|
|
|
|
deps=
|
|
# Django versions
|
|
django-111: django>=1.11,<2.0
|
|
django-20: django==2.0
|
|
django-21: django==2.1
|
|
|
|
[testenv:coverage_setup]
|
|
skip_install = True
|
|
basepython=python3.6
|
|
commands=
|
|
coverage erase
|
|
|
|
[testenv:coverage_report]
|
|
skip_install = True
|
|
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
|