diff --git a/.coveragerc b/.coveragerc index e809714..ec0aef3 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,5 +1,8 @@ [run] omit = + versioneer.* + bumblebee_status/_version.* + setup.* tests/* *mock* *funcsigs* diff --git a/.travis.yml b/.travis.yml index a66688d..63b6eb7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ install: - pip install -U coverage==4.3 - pip install codeclimate-test-reporter script: - - coverage run -m unittest discover -v + - coverage run --source=. -m unittest discover -v - CODECLIMATE_REPO_TOKEN=40cb00907f7a10e04868e856570bb997ab9c42fd3b63d980f2b2269433195fdf codeclimate-test-reporter addons: code_climate: diff --git a/coverage.sh b/coverage.sh index b91ec34..7910a98 100755 --- a/coverage.sh +++ b/coverage.sh @@ -1,4 +1,4 @@ #!/bin/bash -coverage run -m unittest discover -v -b +coverage run --source=. -m unittest discover -v -b coverage report -m