coveralls: another attempt at narrowing coverage

perplexingly, the previous way was segfaulting on travis
This commit is contained in:
Adrian Sampson 2014-01-29 23:29:14 -08:00
parent 7935143448
commit f781b54acc
2 changed files with 5 additions and 1 deletions

4
.coveragerc Normal file
View file

@ -0,0 +1,4 @@
[report]
omit =
*/python?.?/*
*/site-packages/nose/*

View file

@ -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.