Skip to content

Commit

Permalink
Add configuration for coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
hvingelby committed Jul 19, 2019
1 parent 67c3ff3 commit 5016608
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
source = danlp
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ before_install:
- sudo rm -f /etc/boto.cfg
cache: pip
install:
- pip install coverage --quiet
- pip install coveralls --quiet
- pip install -r requirements.txt --quiet
script:
- python -m unittest discover
- coverage run -m unittest discover
after_success:
coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![PyPI](https://img.shields.io/pypi/v/danlp.svg)](https://pypi.org/project/danlp/)
[![Build Status](https://travis-ci.org/alexandrainst/danlp.svg?branch=master)](https://travis-ci.org/alexandrainst/danlp)
[![Coverage Status](https://coveralls.io/repos/github/alexandrainst/danlp/badge.svg?branch=master)](https://coveralls.io/github/alexandrainst/danlp?branch=master)
[![License](https://img.shields.io/badge/license-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)


Expand Down

0 comments on commit 5016608

Please sign in to comment.