tox: Add coverage/docs environments.

This commit is contained in:
Florian Bruhin 2015-03-26 09:18:21 +01:00
parent fc14b5b6b2
commit a1df3194ff

14
tox.ini
View File

@ -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}