From f781b54acc92274ff91d33249e067653d8f95d94 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Wed, 29 Jan 2014 23:29:14 -0800 Subject: [PATCH] coveralls: another attempt at narrowing coverage perplexingly, the previous way was segfaulting on travis --- .coveragerc | 4 ++++ .travis.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 000000000..812fc3b13 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,4 @@ +[report] +omit = + */python?.?/* + */site-packages/nose/* diff --git a/.travis.yml b/.travis.yml index 814ee1682..095c04568 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ install: # unittest backport on Python < 2.7 - "[[ $TRAVIS_PYTHON_VERSION == '2.6' ]] && pip install unittest2 || true" -script: coverage run --source=beets setup.py test +script: nosetests --with-coverage --cover-package=beets # coveralls.io reporting, using https://github.com/coagulant/coveralls-python # Only report coverage for one version.