diff options
| author | Tom Christie | 2013-06-14 12:43:34 +0100 |
|---|---|---|
| committer | Tom Christie | 2013-06-14 12:43:34 +0100 |
| commit | 34f34f40b89080936ac8881ba9e77836a2641153 (patch) | |
| tree | 0b65fb18fff162730573b3e62bf5a1dcc56c31e1 | |
| parent | 5d0aeef69ecec70242513195c19edcb622e14371 (diff) | |
| download | django-rest-framework-34f34f40b89080936ac8881ba9e77836a2641153.tar.bz2 | |
Adding coveralls to travis builds
| -rw-r--r-- | .travis.yml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 6a453241..7f382db0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: |
