mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 20:06:35 +11:00
44 lines
905 B
INI
44 lines
905 B
INI
[tox]
|
|
toxworkdir=/tmp/tox/dpaste
|
|
skip_missing_interpreters=True
|
|
envlist=
|
|
readme
|
|
coverage_setup
|
|
py{34,35,36,37}-django-{111,20}
|
|
py{35,36,37}-django-{21,22}
|
|
coverage_report
|
|
|
|
[testenv]
|
|
install_command =
|
|
pip install {opts} {packages}
|
|
commands=
|
|
coverage run --append runtests.py
|
|
deps=
|
|
# Django versions
|
|
django-111: django>=1.11,<2.0
|
|
django-20: django==2.0
|
|
django-21: django==2.1
|
|
django-22: django==2.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
|