Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
85cd717e
Commit
85cd717e
authored
Oct 08, 2015
by
Tom Christie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3481 from nryoung/fix-codecov
Fix codecov on Travis CI
parents
6fb96e93
739d3892
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
.travis.yml
+1
-1
runtests.py
+5
-1
No files found.
.travis.yml
View file @
85cd717e
...
@@ -31,4 +31,4 @@ script:
...
@@ -31,4 +31,4 @@ script:
after_success
:
after_success
:
-
pip install codecov
-
pip install codecov
-
codecov
-
codecov
-e TOX_ENV
runtests.py
View file @
85cd717e
...
@@ -93,7 +93,11 @@ if __name__ == "__main__":
...
@@ -93,7 +93,11 @@ if __name__ == "__main__":
except
ValueError
:
except
ValueError
:
pass
pass
else
:
else
:
pytest_args
=
[
'--cov'
,
'rest_framework'
]
+
pytest_args
pytest_args
=
[
'--cov-report'
,
'xml'
,
'--cov'
,
'rest_framework'
]
+
pytest_args
if
first_arg
.
startswith
(
'-'
):
if
first_arg
.
startswith
(
'-'
):
# `runtests.py [flags]`
# `runtests.py [flags]`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment