Adding coveralls to travis builds

This commit is contained in:
Tom Christie 2013-06-14 12:43:34 +01:00
parent 5d0aeef69e
commit 34f34f40b8

View File

@ -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: