dpaste/tox.ini

49 lines
1,022 B
INI
Raw Permalink Normal View History

2013-11-26 08:44:36 +11:00
[tox]
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-09-18 06:17:23 +10:00
readme
2018-03-12 21:59:38 +11:00
coverage_setup
2021-12-13 21:00:40 +11:00
py{36,37,38,39,310}-django-{22,30,31,32}
py{38,39,310}-django-{40}
2018-03-12 21:59:38 +11:00
coverage_report
2013-11-26 08:44:36 +11:00
[testenv]
2019-01-25 23:47:00 +11:00
install_command =
2016-03-24 00:15:21 +11:00
pip install {opts} {packages}
2013-11-26 08:44:36 +11:00
commands=
2019-12-05 19:40:39 +11:00
pytest dpaste
2016-03-24 00:15:21 +11:00
deps=
# Django versions
2019-12-05 19:40:39 +11:00
django-21: django>=2.1,<2.2
django-22: django>=2.2,<3.0
django-30: django>=3.0,<3.1
2021-03-05 17:43:06 +11:00
django-31: django>=3.1,<3.2
2021-12-13 21:00:40 +11:00
django-32: django>=3.2,<4.0
django-40: django>=4.0,<4.1
# Add mistune to dependencies
mistune>=3.0.0
2018-03-12 21:59:38 +11:00
[testenv:coverage_setup]
2018-09-18 06:17:23 +10:00
skip_install = True
2019-01-25 23:47:00 +11:00
deps = coverage
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]
2018-09-18 06:17:23 +10:00
skip_install = True
2019-01-25 23:47:00 +11:00
deps = coverage
2018-03-12 21:59:38 +11:00
basepython=python3.6
commands=
coverage report
coverage html
2018-09-18 06:17:23 +10:00
[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