Skip to content

Commit f95ce91

Browse files
committed
Tune coverage
1 parent 7c6e073 commit f95ce91

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ test:
3030

3131
coverage:
3232
@echo 'Running test suite with coverage'
33+
@coverage erase
3334
@coverage run --rcfile=coverage.rc manage.py test $(suite)
35+
@echo
36+
@coverage report --rcfile=coverage.rc
3437

3538
pep8:
3639
@pep8 $(PACKAGE) --max-line-length=120 --ignore=E128,E122,E125 && echo 'PEP8: OK'

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Django.js
44

55
.. image:: https://secure.travis-ci.org/noirbizarre/django.js.png
66
:target: http://travis-ci.org/noirbizarre/django.js
7+
.. image:: https://coveralls.io/repos/noirbizarre/django.js/badge.png?branch=master
8+
:target: https://coveralls.io/r/noirbizarre/django.js
79
.. image:: https://pypip.in/v/django.js/badge.png
810
:target: https://crate.io/packages/django.js
911
.. image:: https://pypip.in/d/django.js/badge.png

coverage.rc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,11 @@
22
source = djangojs
33
branch = True
44
omit =
5-
*/fake/*
5+
djangojs/models.py
6+
djangojs/settings.py
7+
djangojs/test_urls.py
8+
djangojs/wsgi.py
9+
djangojs/fake/*
10+
djangojs/management/*
11+
djangojs/tests/*
612

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# Remove pypip.in badges
1515
(r'.*pypip\.in/.*', ''),
1616
(r'.*crate\.io/.*', ''),
17+
(r'.*coveralls\.io/.*', ''),
1718
)
1819

1920

0 commit comments

Comments
 (0)