[Reproducible-commits] [reprotest] 01/04: Add coverage to tox.ini
Ceridwen
ceridwen-guest at moszumanska.debian.org
Mon Jun 6 03:31:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
ceridwen-guest pushed a commit to branch master
in repository reprotest.
commit 40bcb2ef56b4b9deb30bd31930fd4a8ade374e4a
Author: Ceridwen <ceridwenv at gmail.com>
Date: Sun Jun 5 11:42:43 2016 -0400
Add coverage to tox.ini
---
tests/dummy_artifact.txt | 1 -
tox.ini | 16 ++++++++++++++--
2 files changed, 14 insertions(+), 3 deletions(-)
diff --git a/tests/dummy_artifact.txt b/tests/dummy_artifact.txt
deleted file mode 100644
index 8f210e8..0000000
--- a/tests/dummy_artifact.txt
+++ /dev/null
@@ -1 +0,0 @@
-Foobar.
diff --git a/tox.ini b/tox.ini
index 5c221aa..4a73281 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,17 @@
[tox]
-envlist = py34,py35
+envlist = coverage-clean, py34, py35, coverage-stats
+skip_missing_interpreters = true
+
+[testenv:coverage-clean]
+commands = coverage erase
+
+[testenv:coverage-stats]
+commands =
+ coverage report --ignore-errors
+ coverage html --ignore-errors
[testenv]
-commands = python tests/test.py
+deps =
+ coverage
+ diffoscope
+commands = coverage run --branch tests/test.py
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list