From b6d44fe31c7a3176f1a203cebed490cc078a8ab1 Mon Sep 17 00:00:00 2001 From: hugovk Date: Wed, 2 Apr 2014 11:57:02 +0300 Subject: [PATCH] Only measure coverage of code in the PIL directory, but includes all those files, even those unexecuted --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9a618fc2b..c4319bfcb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,8 +29,8 @@ script: - coverage erase - python setup.py clean - python setup.py build_ext --inplace - - coverage run --append --omit=/usr/* selftest.py - - coverage run --append --omit=/usr/* Tests/run.py + - coverage run --append --source=PIL selftest.py + - coverage run --append --source=PIL Tests/run.py after_success: - coverage report