Fix venv files being included in coverage reports in CI.

e4707af2e2 didn't correctly deal with
the different path for the venv cache in Travis CI.
This commit is contained in:
Tim Abbott 2016-05-19 10:01:23 -07:00
parent e4707af2e2
commit cadbe64265
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ if __name__ == "__main__":
if options.coverage:
import coverage
cov = coverage.Coverage(omit="/srv/zulip-venv-cache/*")
cov = coverage.Coverage(omit="*/zulip-venv-cache/*")
cov.start()
if options.profile:
import cProfile