diff options
author | Stephen Finucane <stephen@that.guru> | 2017-10-21 15:52:46 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-12-24 21:24:41 +0000 |
commit | a3f9935d958197a3c0963cec97755db1ff32a3a3 (patch) | |
tree | 50783f8d101d7bfc7cc16f81ec202947fb4d5718 /tox.ini | |
parent | a9efb2517a0ccbd932f7e6be3e8984d78dc763b8 (diff) | |
download | sphinx-git-a3f9935d958197a3c0963cec97755db1ff32a3a3.tar.gz |
travis: Enable codecov coverage
This necessitates adding some basic coverage-py configuration [1] and
making sure the pytest-cov plugin uses said configuration [2]. Badges
are included.
Note that we do not run the 'coverage' tox target, which is reserved for
users.
[1] https://github.com/codecov/example-python
[2] https://bitbucket.org/ned/coveragepy/issues/512/
Signed-off-by: Stephen Finucane <stephen@that.guru>
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ deps = du14: docutils==0.14 setenv = SPHINX_TEST_TEMPDIR = {envdir}/testbuild - coverage: PYTEST_ADDOPTS = --cov sphinx + coverage: PYTEST_ADDOPTS = --cov sphinx --cov-config {toxinidir}/setup.cfg commands= {envpython} -Wall tests/run.py --durations 25 {posargs} |