From 304f2f19cc74c1f7865495dd79e98bb2242911bc Mon Sep 17 00:00:00 2001 From: Eric Dill Date: Sat, 1 Aug 2015 11:49:03 -0400 Subject: [PATCH] MNT: hard code the coverage report location --- .coveragerc | 14 +++++++++++--- .travis.yml | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.coveragerc b/.coveragerc index 0c722aca..29e546b2 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,7 +1,6 @@ [run] -source = - pyqtgraph - +source = pyqtgraph +branch = True [report] omit = */python?.?/* @@ -9,3 +8,12 @@ omit = *test* */__pycache__/* *.pyc +exclude_lines = + pragma: no cover + def __repr__ + if self\.debug + raise AssertionError + raise NotImplementedError + if 0: + if __name__ == .__main__.: +ignore_errors = True diff --git a/.travis.yml b/.travis.yml index 388e47ba..d1214465 100644 --- a/.travis.yml +++ b/.travis.yml @@ -182,6 +182,6 @@ script: check_output "import test"; after_success: - - cd ~/repo-clone + - cd /home/travis/build/pyqtgraph/pyqtgraph - codecov - coveralls