mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
43 lines
865 B
INI
43 lines
865 B
INI
[tox]
|
|
toxworkdir=/tmp/tox/dpaste
|
|
skip_missing_interpreters=True
|
|
envlist=
|
|
readme
|
|
coverage_setup
|
|
py{36,37,38}-django-{22,30,31}
|
|
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
|
|
|
|
[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
|