Merge pull request #32 from captn3m0/coveralls

[ci] Adds coveralls coverage tracking
This commit is contained in:
Nemo 2020-06-15 03:27:13 +05:30 committed by GitHub
commit c10614c2bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 pyvenv.cfg
bin/ bin/
.coverage

View File

@ -13,8 +13,11 @@ python:
install: install:
- pip install requests - pip install requests
- pip install nose - pip install nose
- pip install coverage
- pip install coveralls
# command to run tests, e.g. python setup.py test # command to run tests, e.g. python setup.py test
script: nosetests --nocapture script: coverage run --source=hackertray $(which nosetests)
after_success: coveralls
notifications: notifications:
email: email:
on_success: never 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/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/) [![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 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, that lets you view top HN stories in your System Tray. It uses appindicator where available,