diff --git a/.travis.yml b/.travis.yml index e8561a7ac..67404d750 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,4 +31,4 @@ script: after_success: - pip install codecov - - codecov + - codecov -e TOX_ENV diff --git a/runtests.py b/runtests.py index 36a2183bd..504cd1d37 100755 --- a/runtests.py +++ b/runtests.py @@ -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]`