Skip to content

Commit 34f34f4

Browse files
committed
Adding coveralls to travis builds
1 parent 5d0aeef commit 34f34f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ env:
1414

1515
install:
1616
- pip install $DJANGO
17+
- pip install coveralls
1718
- pip install defusedxml==0.3
1819
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211 --use-mirrors; fi"
1920
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.0 --use-mirrors; fi"
@@ -23,7 +24,10 @@ install:
2324
- export PYTHONPATH=.
2425

2526
script:
26-
- python rest_framework/runtests/runtests.py
27+
- coverage run --omit="rest_framework/tests/*,rest_framework/runtests/*,rest_framework/compat.py" rest_framework/runtests/runtests.py
28+
29+
after_success:
30+
- coveralls
2731

2832
matrix:
2933
exclude:

0 commit comments

Comments
 (0)