Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Warmuz <jakub@warmuz.org>2015-06-11 15:28:46 +0300
committerJakub Warmuz <jakub@warmuz.org>2015-06-11 15:28:46 +0300
commit22fd9d4cd7b1a1afd3d596086b5b37974abba0e9 (patch)
tree2244526abdad6b240dcafa3914c3027eca481111 /tox.cover.sh
parentbd130a8cd8f5c1bc0531fc5c0ded1866730ac212 (diff)
tox.cover.sh: erase coverage before tests
Diffstat (limited to 'tox.cover.sh')
-rwxr-xr-xtox.cover.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.cover.sh b/tox.cover.sh
index 80b6474d7..9a2c3f141 100755
--- a/tox.cover.sh
+++ b/tox.cover.sh
@@ -15,6 +15,8 @@ cover () {
"$1" --cover-min-percentage="$2" "$1"
}
+rm -f .coverage # --cover-erase is off, make sure stats are correct
+
# don't use sequential composition (;), if letsencrypt_nginx returns
# 0, coveralls submit will be triggered (c.f. .travis.yml,
# after_success)