Skip to content

Commit

Permalink
Enforce successful upload of coverage files codecov (django-json-api#530
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sliverc authored and n2ygk committed Dec 7, 2018
1 parent fd77738 commit f309c7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pip-delete-this-directory.txt

# Coverage
.coverage
coverage.xml

# Tox
.tox/
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ script:
- tox
after_success:
- pip install codecov
- codecov -e TOXENV
- codecov -e TOXENV --required
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ setenv =
DJANGO_SETTINGS_MODULE=example.settings.test

commands =
python setup.py test --addopts '--cov --no-cov-on-fail' {posargs}
python setup.py test --addopts '--cov --no-cov-on-fail --cov-report xml' {posargs}

[testenv:flake8]
deps =
Expand Down

0 comments on commit f309c7c

Please sign in to comment.