mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-14 23:52:55 +11:00
43 lines
862 B
INI
43 lines
862 B
INI
[tox]
|
|
toxworkdir=/tmp/tox/dpaste
|
|
skip_missing_interpreters=True
|
|
envlist=
|
|
readme
|
|
coverage_setup
|
|
py{36,37,38}-django-{22,30}
|
|
coverage_report
|
|
|
|
[testenv]
|
|
install_command =
|
|
pip install {opts} {packages}
|
|
commands=
|
|
pytest dpaste
|
|
deps=
|
|
# Django versions
|
|
django-20: django>=2.0,<2.1
|
|
django-21: django>=2.1,<2.2
|
|
django-22: django>=2.2,<3.0
|
|
django-30: django>=3.0,<3.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
|