dpaste/tox.ini

47 lines
969 B
INI

[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