Upload coverage statistics from Travis

This commit is contained in:
Johann Bauer 2017-11-08 17:58:17 +01:00
parent 6acc4214c9
commit ceed56c217
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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