tox: Add coverage/docs environments.
This commit is contained in:
parent
fc14b5b6b2
commit
a1df3194ff
14
tox.ini
14
tox.ini
@ -15,6 +15,11 @@ envdir = {toxinidir}/.venv
|
||||
usedevelop = true
|
||||
|
||||
[testenv:unittests]
|
||||
commands =
|
||||
{[testenv:mkvenv]commands}
|
||||
{envpython} -m unittest
|
||||
|
||||
[testenv:coverage]
|
||||
deps =
|
||||
coverage==3.7.1
|
||||
commands =
|
||||
@ -76,3 +81,12 @@ deps =
|
||||
commands =
|
||||
{[testenv:mkvenv]commands}
|
||||
{envdir}/bin/check-manifest --ignore 'qutebrowser/git-commit-id,qutebrowser/html/doc,qutebrowser/html/doc/*,*/__pycache__'
|
||||
|
||||
[testenv:docs]
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
commands =
|
||||
{[testenv:mkvenv]commands}
|
||||
{envpython} scripts/src2asciidoc.py
|
||||
{envpython} scripts/misc_checks.py git
|
||||
{envpython} scripts/asciidoc2html.py {posargs}
|
||||
|
Loading…
Reference in New Issue
Block a user