Skip to content

Commit cbcb6e3

Browse files
committed
Trying something different with coveralls
1 parent d946d8d commit cbcb6e3

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,6 @@ python:
99
before_install: "cd tests"
1010
install: "./install.sh"
1111
# command to run tests
12-
script: "./manage.py test"
12+
script: "coverage run --source=tests manage.py test"
13+
after_success:
14+
coveralls

tests/.coveragerc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[report]
2+
omit =
3+
*/python?.?/*
4+
*/migrations/*
5+
*/site-packages/*
File renamed without changes.

tests/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
Django
2+
coveralls
3+
coverage

0 commit comments

Comments
 (0)