From ceed56c21736fc5e526bf6a54526b2bc739904de Mon Sep 17 00:00:00 2001 From: Johann Bauer Date: Wed, 8 Nov 2017 17:58:17 +0100 Subject: [PATCH] Upload coverage statistics from Travis --- .travis.yml | 2 ++ README.rst | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 77ffc9251..1a86f4f48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,9 @@ python: install: - pip install tox - pip install tox-travis + - pip install python-coveralls script: - tox after_success: - if [ "$TRAVIS_BRANCH" = "master" ]; then pip install pycurl requests && contrib/make_locale; fi + - coveralls diff --git a/README.rst b/README.rst index adee86e57..9cbce05d9 100644 --- a/README.rst +++ b/README.rst @@ -12,6 +12,10 @@ Electrum - Lightweight Bitcoin client .. image:: https://travis-ci.org/spesmilo/electrum.svg?branch=master :target: https://travis-ci.org/spesmilo/electrum :alt: Build Status +.. image:: https://coveralls.io/repos/github/spesmilo/electrum/badge.svg?branch=coverage + :target: https://coveralls.io/github/spesmilo/electrum?branch=coverage + :alt: Test coverage statistics +