mirror of
https://github.com/beetbox/beets.git
synced 2026-02-22 07:14:24 +01:00
coveralls: another attempt at narrowing coverage
perplexingly, the previous way was segfaulting on travis
This commit is contained in:
parent
7935143448
commit
f781b54acc
2 changed files with 5 additions and 1 deletions
4
.coveragerc
Normal file
4
.coveragerc
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[report]
|
||||
omit =
|
||||
*/python?.?/*
|
||||
*/site-packages/nose/*
|
||||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue