diff options
author | Stephen Finucane <stephen@that.guru> | 2016-10-23 21:38:08 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2016-11-01 20:59:50 +0000 |
commit | 72099f7140ca34f3a40ff9ba515484e9ac918e11 (patch) | |
tree | 305a33b6c9b0c6b8a307bb1d763fc5fece32cc4e | |
parent | c92a36f947e410f5c6e17c3bdc41f0ae51becbf6 (diff) | |
download | patchwork-72099f7140ca34f3a40ff9ba515484e9ac918e11.tar patchwork-72099f7140ca34f3a40ff9ba515484e9ac918e11.tar.gz |
travis: Integrate with codecov
This mostly involves enabling coverage as a default tox target. We add
pep8 too, while we're at it.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Daniel Axtens <dja@axtens.net>
-rw-r--r-- | .travis.yml | 5 | ||||
-rw-r--r-- | README.md | 3 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 80f5634..618cbe5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,11 @@ before_script: install: - pip install tox-travis + - pip install codecov script: - tox + - tox -e coverage + +after_success: + - codecov @@ -3,6 +3,7 @@ [![Requirements Status][badge-req-img]][badge-req-ref] [![Build Status][badge-travis-img]][badge-travis-ref] [![Code Health][badge-landscape-img]][badge-landscape-ref] +[![Codecov][badge-codecov-img]][badge-codecov-ref] [![Docs Status][badge-doc-img]][badge-doc-ref] [![Stories in Ready][badge-waffle-img]][badge-waffle-ref] @@ -63,6 +64,8 @@ For further information, please refer to the [docs][docs]. For bug reports, patch submissions or other questions, please use the [Patchwork mailing list][pw-ml]. +[badge-codecov-ref]: https://codecov.io/gh/getpatchwork/patchwork +[badge-codecov-img]: https://codecov.io/gh/getpatchwork/patchwork/branch/master/graph/badge.svg [badge-doc-ref]: https://patchwork.readthedocs.io/en/latest/ [badge-doc-img]: https://readthedocs.org/projects/patchwork/badge/?version=latest [badge-landscape-ref]: https://landscape.io/github/getpatchwork/patchwork/master @@ -1,6 +1,6 @@ [tox] minversion = 2.0 -envlist = py{27,34}-django{16,17,18,19,110},py35-django{18,19,110} +envlist = pep8,py{27,34}-django{16,17,18,19,110},py35-django{18,19,110} skipsdist = True [testenv] |