Setup for Coverage and Codcov.io (#6)

* coverage

* coveragerc

* fix placeholder
This commit is contained in:
Tyrel Souza 2016-12-08 14:54:53 -05:00 committed by GitHub
parent 33d22038e6
commit cebe70d471
3 changed files with 23 additions and 0 deletions

13
.coveragerc Normal file
View File

@ -0,0 +1,13 @@
[run]
branch = True
source = dbfilestorage
[report]
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
ignore_errors = True
omit =
tests/*

View File

@ -1,2 +1,3 @@
Django==1.10.4
Sphinx==1.5
coverage==4.2

9
setup.cfg Normal file
View File

@ -0,0 +1,9 @@
[nosetests]
verbosity=1
detailed-errors=1
with-coverage=1
cover-package=dbfilestorage
debug=nose.loader
pdb=1
pdb-failures=1