mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Adding coveralls to travis builds
This commit is contained in:
parent
5d0aeef69e
commit
34f34f40b8
|
@ -14,6 +14,7 @@ env:
|
|||
|
||||
install:
|
||||
- pip install $DJANGO
|
||||
- pip install coveralls
|
||||
- pip install defusedxml==0.3
|
||||
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install oauth2==1.5.211 --use-mirrors; fi"
|
||||
- "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-oauth-plus==2.0 --use-mirrors; fi"
|
||||
|
@ -23,7 +24,10 @@ install:
|
|||
- export PYTHONPATH=.
|
||||
|
||||
script:
|
||||
- python rest_framework/runtests/runtests.py
|
||||
- coverage run --omit="rest_framework/tests/*,rest_framework/runtests/*,rest_framework/compat.py" rest_framework/runtests/runtests.py
|
||||
|
||||
after_success:
|
||||
- coveralls
|
||||
|
||||
matrix:
|
||||
exclude:
|
||||
|
|
Loading…
Reference in New Issue
Block a user