summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaheshgudi2017-12-19 15:00:02 +0530
committermaheshgudi2017-12-19 15:28:09 +0530
commit48a2086a542605fe3fb218520a8f8994aad7434c (patch)
tree1b8d3542a2eb3df4a7c262201177a4376ae8bd4a
parent8af1d91001a59bb26999d94b6578eccbc1f1a908 (diff)
downloadonline_test-48a2086a542605fe3fb218520a8f8994aad7434c.tar.gz
online_test-48a2086a542605fe3fb218520a8f8994aad7434c.tar.bz2
online_test-48a2086a542605fe3fb218520a8f8994aad7434c.zip
Add coverage badge on readme using codecov
-rw-r--r--.travis.yml2
-rw-r--r--README.rst6
2 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 153f89b..8bb9d64 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,7 @@ before_install:
# command to install dependencies
install:
- pip install -r requirements/requirements-common.txt
+ - pip install codecov
- python setup.py develop
# command to run tests and coverage
@@ -25,6 +26,7 @@ script:
after_success:
- coverage combine
- coverage report
+ - codecov
dist:
precise
diff --git a/README.rst b/README.rst
index 78111c1..c7d2089 100644
--- a/README.rst
+++ b/README.rst
@@ -1,7 +1,7 @@
Yaksh
=====
-|Build Status| |Documentation Status| |Version Status|
+|Build Status| |Documentation Status| |Version Status| |Coverage Status|
To get an overview of the Yaksh interface please refer to the user documentation at `Yaksh Docs <http://yaksh.readthedocs.io>`_
@@ -163,4 +163,6 @@ Copyright (c) 2011-2017 `FOSSEE <https://fossee.in>`_
.. |Documentation Status| image:: https://readthedocs.org/projects/yaksh/badge/?version=latest
:target: http://yaksh.readthedocs.io/en/latest/?badge=latest
.. |Version Status| image:: https://badge.fury.io/gh/fossee%2Fonline_test.svg
- :target: https://badge.fury.io/gh/fossee%2Fonline_test \ No newline at end of file
+ :target: https://badge.fury.io/gh/fossee%2Fonline_test
+.. |Coverage Status| image:: https://codecov.io/gh/fossee/online_test/branch/master/graph/badge.svg
+ :target: https://codecov.io/gh/fossee/online_test \ No newline at end of file