[ci] Adds coveralls

This commit is contained in:
Nemo 2020-06-15 03:07:01 +05:30
parent 3117a7948e
commit 5736b65bb4
3 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ pip-delete-this-directory.txt
pyvenv.cfg
bin/
.coverage

View File

@ -13,8 +13,11 @@ python:
install:
- pip install requests
- pip install nose
- pip install coverage
- pip install coveralls
# command to run tests, e.g. python setup.py test
script: nosetests --nocapture
script: coverage run --source=hackertray $(which nosetests)
after_success: coveralls
notifications:
email:
on_success: never

View File

@ -2,7 +2,7 @@
[![HackerTray on PyPi](https://pypip.in/v/hackertray/badge.png)](https://pypi.python.org/pypi/hackertray/)
[![HackerTray on PyPi](https://pypip.in/d/hackertray/badge.png)](https://pypi.python.org/pypi/hackertray/)
[![Build Status](https://travis-ci.org/captn3m0/hackertray.png)](https://travis-ci.org/captn3m0/hackertray)
[![Build Status](https://travis-ci.org/captn3m0/hackertray.png)](https://travis-ci.org/captn3m0/hackertray) [![Coverage Status](https://coveralls.io/repos/github/captn3m0/hackertray/badge.svg?branch=master)](https://coveralls.io/github/captn3m0/hackertray?branch=master)
HackerTray is a simple [Hacker News](https://news.ycombinator.com/) Linux application
that lets you view top HN stories in your System Tray. It uses appindicator where available,