diff options
author | Stephen Finucane <stephen@that.guru> | 2017-10-21 17:52:46 +0300 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-12-25 00:24:41 +0300 |
commit | a3f9935d958197a3c0963cec97755db1ff32a3a3 (patch) | |
tree | 50783f8d101d7bfc7cc16f81ec202947fb4d5718 /README.rst | |
parent | a9efb2517a0ccbd932f7e6be3e8984d78dc763b8 (diff) |
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 'README.rst')
-rw-r--r-- | README.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/README.rst b/README.rst index 6419503e4..2d841f78e 100644 --- a/README.rst +++ b/README.rst @@ -22,6 +22,10 @@ :target: https://circleci.com/gh/sphinx-doc/sphinx :alt: Build Status (CircleCI) +.. image:: https://codecov.io/gh/sphinx-doc/sphinx/branch/master/graph/badge.svg + :target: https://codecov.io/gh/sphinx-doc/sphinx + :alt: Code Coverage Status (Codecov) + Sphinx is a tool that makes it easy to create intelligent and beautiful documentation for Python projects (or other documents consisting of multiple reStructuredText sources), written by Georg Brandl. It was originally created |