Skip to content

Commit fded9de

Browse files
author
Ryan P Kilby
committed
Add coverage reporting
1 parent 510210c commit fded9de

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.coveragerc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[run]
2+
branch = True
3+
source =
4+
rest_framework_filters
5+
6+
[report]
7+
show_missing = True

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ env:
1212
- DJANGO="Django>=1.8,<1.9"
1313
- DJANGO="Django>=1.9,<1.10"
1414
install:
15-
- travis_retry pip install -q $DJANGO
15+
- travis_retry pip install -q $DJANGO "coverage==3.7.1"
1616
- pip install .
17-
script: python manage.py test
17+
script:
18+
- coverage run manage.py test
19+
- coverage report
1820

1921
matrix:
2022
exclude:

0 commit comments

Comments
 (0)