From 0e37f3f8fc3de3ab964b030fb961539f6cf48ea4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jelmer=20Vernoo=C4=B3?= Date: Mon, 7 May 2018 16:27:39 +0100 Subject: [PATCH] Specify source in .coveragerc. --- .coveragerc | 1 + .travis.yml | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.coveragerc b/.coveragerc index 2515d6b906..eba6090460 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,6 @@ [run] branch = True +source = breezy [report] exclude_lines = diff --git a/.travis.yml b/.travis.yml index 615c2b98e3..9cbcde7468 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ matrix: script: - make docs $EXTRA_MAKE_ARGS - - BRZ_PLUGIN_PATH=-site:-user python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -m coverage run -p --source=breezy ./brz selftest --parallel=fork $SELFTEST_OPTIONS + - BRZ_PLUGIN_PATH=-site:-user python -Werror -Wignore::ImportWarning -Wignore::PendingDeprecationWarning -Wignore::DeprecationWarning -m coverage run ./brz selftest --parallel=fork $SELFTEST_OPTIONS install: - sudo apt install python-all-dev python3-all-dev subunit @@ -27,5 +27,4 @@ install: - travis_retry pip install -U pip coverage codecov flake8 testtools paramiko fastimport configobj cython testscenarios six docutils python-subunit $TEST_REQUIRE after_success: - - python -m coverage combine - codecov