Run codecov
parent
fd62e94929
commit
6a2720cd77
11
tox.ini
11
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue