mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 15:13:06 +11:00
ef1b2caeda
added mistune to the dependencies for tox testing Signed-off-by: Darren Nathanael <github@darrennathanael.com>
48 lines
1,022 B
INI
48 lines
1,022 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
|
|
# Add mistune to dependencies
|
|
mistune>=3.0.0
|
|
|
|
[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
|