diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-12-21 17:51:57 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-12-21 17:51:57 +0000 |
commit | bb9c7f2dd9d1b262e06d47577597649af9706660 (patch) | |
tree | 4220dc4a1769b1149be06f5a5938c55d95a60eb1 /jenkins.sh | |
parent | Use an absolute path when specifying the directory for synapse in jenkins.sh (diff) | |
download | synapse-bb9c7f2dd9d1b262e06d47577597649af9706660.tar.xz |
Delete all the .coverage files, including the combined .coverage
Diffstat (limited to 'jenkins.sh')
-rwxr-xr-x | jenkins.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jenkins.sh b/jenkins.sh index 66c1614299..bb0ae361af 100755 --- a/jenkins.sh +++ b/jenkins.sh @@ -16,7 +16,7 @@ export DUMP_COVERAGE_COMMAND="coverage help" # UNSTABLE or FAILURE this build. export PEP8SUFFIX="--output-file=violations.flake8.log || echo flake8 finished with status code \$?" -rm .coverage.* || echo "No files to remove" +rm .coverage* || echo "No coverage files to remove" tox @@ -76,6 +76,7 @@ cd .. cp sytest/.coverage.* . # Combine the coverage reports +echo "Combining:" .coverage.* $TOX_BIN/python -m coverage combine # Output coverage to coverage.xml $TOX_BIN/coverage xml -o coverage.xml |