Skip to content

Commit

Permalink
Specify source in .coveragerc.
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed May 7, 2018
1 parent 46abccf commit 0e37f3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[run]
branch = True
source = breezy

[report]
exclude_lines =
Expand Down
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ 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
- travis_retry pip install -U setuptools
- 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

0 comments on commit 0e37f3f

Please sign in to comment.