From: Stephen Finucane Date: Sun, 23 Oct 2016 20:38:08 +0000 (+0100) Subject: travis: Integrate with codecov X-Git-Tag: v2.0.0-rc1~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72099f7140ca34f3a40ff9ba515484e9ac918e11;p=thirdparty%2Fpatchwork.git 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 Reviewed-by: Daniel Axtens --- diff --git a/.travis.yml b/.travis.yml index 80f5634d..618cbe5a 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 diff --git a/README.md b/README.md index dc9e1988..b53f2e24 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/tox.ini b/tox.ini index 0836cd52..e55e3bd9 100644 --- a/tox.ini +++ b/tox.ini @@ -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]