From 6a2720cd771ff75bcf15ef4c74e7ea74e1487966 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Fri, 19 Oct 2018 00:52:00 -0500 Subject: [PATCH] Run codecov --- tox.ini | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 9d3f09f20..cc48c77cb 100644 --- a/tox.ini +++ b/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