From 7ecda007e04e14c0bdc47c6c241c2915c9ceafdb Mon Sep 17 00:00:00 2001 From: wiredfool Date: Thu, 17 Apr 2014 09:48:16 -0700 Subject: [PATCH] multiprocess coverage --- .travis.yml | 1 + Tests/tester.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 34ffcfe1a..2f636f223 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,6 +33,7 @@ script: - python Tests/run.py --coverage after_success: + - coverage combine - coverage report - coveralls - pip install pep8 pyflakes diff --git a/Tests/tester.py b/Tests/tester.py index 058e8305b..690acbafb 100644 --- a/Tests/tester.py +++ b/Tests/tester.py @@ -303,7 +303,7 @@ def _setup(): import sys if "--coverage" in sys.argv: import coverage - cov = coverage.coverage(auto_data=True, include="PIL/*") + cov = coverage.coverage(auto_data=True, data_suffix=True, include="PIL/*") cov.start() def report():