From a1df3194fffe105b27aae0a13e47a4e4c28266e6 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 26 Mar 2015 09:18:21 +0100 Subject: [PATCH] tox: Add coverage/docs environments. --- tox.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tox.ini b/tox.ini index 2ada7d997..6c73232db 100644 --- a/tox.ini +++ b/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}