Commit 85cd717e by Tom Christie

Merge pull request #3481 from nryoung/fix-codecov

Fix codecov on Travis CI
parents 6fb96e93 739d3892
......@@ -31,4 +31,4 @@ script:
after_success:
- pip install codecov
- codecov
- codecov -e TOX_ENV
......@@ -93,7 +93,11 @@ if __name__ == "__main__":
except ValueError:
pass
else:
pytest_args = ['--cov', 'rest_framework'] + pytest_args
pytest_args = [
'--cov-report',
'xml',
'--cov',
'rest_framework'] + pytest_args
if first_arg.startswith('-'):
# `runtests.py [flags]`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment