Skip to content

Commit

Permalink
Add coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
aptiko committed Sep 1, 2017
1 parent b726e58 commit f19ee23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Expand Up @@ -4,10 +4,13 @@ python:
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install pytest
- pip install codecov
- pip install pytest-cov
# - pip install coveralls
# command to run tests
script:
- pytest src/csv2df --doctest-modules
#after_success:
# - codecov
- pytest src/csv2df --doctest-modules --cov=csv2df
after_success:
- codecov
# - coveralls
1 change: 1 addition & 0 deletions README.md
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.org/epogrebnyak/mini-kep.svg?branch=master)](https://travis-ci.org/epogrebnyak/mini-kep)
[![Coverage badge](https://codecov.io/gh/epogrebnyak/mini-kep/branch/master/graphs/badge.svg)](https://codecov.io/gh/epogrebnyak/mini-kep)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/8a467743314641b4a22b66b327834367)](https://www.codacy.com/app/epogrebnyak/mini-kep?utm_source=github.com&utm_medium=referral&utm_content=epogrebnyak/mini-kep&utm_campaign=Badge_Grade)
[![Documentation Status](https://readthedocs.org/projects/mini-kep-parcer-for-rosstat-kep-publication/badge/?version=latest)](http://mini-kep-parcer-for-rosstat-kep-publication.readthedocs.io/en/latest/?badge=latest)

Expand Down

1 comment on commit f19ee23

@epogrebnyak
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May also change coverage to root of src, not just csv2df. Referenced in #23

Please sign in to comment.