Run codecov

humitos/integrations/handle-error-codes
Santos Gallegos 2018-10-19 00:52:00 -05:00
parent fd62e94929
commit 6a2720cd77
1 changed files with 9 additions and 2 deletions

11
tox.ini
View File

@ -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}
@ -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 =
@ -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