Skip to content

Commit

Permalink
Run codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Oct 19, 2018
1 parent fd62e94 commit 6a2720c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ skipsdist = True
[travis]
python =
2.7: py27
3.6: py36, coverage
3.6: py36, codecov

[testenv]
description = run test suite for the application with {basepython}
Expand All @@ -16,6 +16,7 @@ setenv =
LANG=C
LC_CTYPE=C.UTF-8
DJANGO_SETTINGS_SKIP_LOCAL=True
passenv = CI TRAVIS TRAVIS_*
deps = -r{toxinidir}/requirements/testing.txt
changedir = {toxinidir}/readthedocs
commands =
Expand Down Expand Up @@ -57,5 +58,11 @@ description = shows the coverage report
deps = coverage
whitelist_externals = echo
commands =
coverage report --show-missing --fail-under=76
coverage report --show-missing
coverage html
echo Annotated HTML coverage report is in {toxinidir}/readthedocs/htmlcov/index.html
[testenv:codecov]
description = upload coverage report
deps = codecov
commands = codecov

0 comments on commit 6a2720c

Please sign in to comment.