diff --git a/.travis.yml b/.travis.yml index 4729f1d..54f6b7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,5 +15,8 @@ install: - pip install lmdb - pip install plyvel - pip install pyrocksdb + - pip install pytest-cov + - pip install python-coveralls # command to run tests -script: pytest \ No newline at end of file +script: pytest --cov=server --cov=lib +after_success: coveralls \ No newline at end of file diff --git a/README.rst b/README.rst index 3efb463..71023d4 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,8 @@ .. image:: https://travis-ci.org/kyuupichan/electrumx.svg?branch=master :target: https://travis-ci.org/kyuupichan/electrumx +.. image:: https://coveralls.io/repos/github/kyuupichan/electrumx/badge.svg + :target: https://coveralls.io/github/kyuupichan/electrumx + ElectrumX - Reimplementation of Electrum-server ===============================================