diff --git a/ci/coveragerc b/ci/coveragerc new file mode 100644 index 00000000..2d47c77e --- /dev/null +++ b/ci/coveragerc @@ -0,0 +1,3 @@ +[run] +source = qubes +omit = qubes/tests/* diff --git a/ci/requirements.txt b/ci/requirements.txt index a702822e..81325bdf 100644 --- a/ci/requirements.txt +++ b/ci/requirements.txt @@ -1,5 +1,6 @@ # WARNING: those requirements are used only for travis-ci.org # they SHOULD NOT be used under normal conditions; use system package manager +coverage docutils jinja2 lxml diff --git a/run-tests b/run-tests index 85ed63ee..17471333 100755 --- a/run-tests +++ b/run-tests @@ -7,4 +7,4 @@ PYTHONPATH="${TESTPYTHONPATH}:${PYTHONPATH}" export PYTHONPATH "${PYTHON}" setup.py egg_info --egg-base "${TESTPYTHONPATH}" -"${PYTHON}" -m qubes.tests.run "$@" +"${PYTHON}" -m coverage run --rcfile=ci/coveragerc -m qubes.tests.run "$@"