summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-11-11 08:58:12 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-11-11 08:58:12 +0100
commit7fadf4611709157343e1421e9af27ae1abb9d81c (patch)
tree7f7fc83bfa2daaa796674a397e9b7faf1f81e890 /tox.ini
parent2d689f236b60684a98dc9c75be103c4dfc7e4aa5 (diff)
downloadgitlab-7fadf4611709157343e1421e9af27ae1abb9d81c.tar.gz
generate coverage reports with tox
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 9898e9e..5f01e78 100644
--- a/tox.ini
+++ b/tox.ini
@@ -31,6 +31,8 @@ commands = python setup.py build_sphinx
[testenv:cover]
commands =
python setup.py testr --slowest --coverage --testr-args="{posargs}"
+ coverage report --omit=*tests*
+ coverage html --omit=*tests*
[testenv:cli_func_v3]
commands = {toxinidir}/tools/functional_tests.sh -a 3