diff --git a/.travis.yml b/.travis.yml index be83a10..e7b9be5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,5 +9,7 @@ install: - pip install -r test-requirements.txt - pip install -e . script: - - nosetests + - nosetests -q --with-coverage --cover-package=pycron sudo: false +after_success: + - coveralls diff --git a/README.md b/README.md index 475c516..fd5463b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -# pycron [![Build Status](https://travis-ci.org/kipe/pycron.svg?branch=master)](https://travis-ci.org/kipe/pycron) +# pycron +[![Build Status](https://travis-ci.org/kipe/pycron.svg?branch=master)](https://travis-ci.org/kipe/pycron) +[![Coverage Status](https://coveralls.io/repos/github/kipe/pycron/badge.svg?branch=master)](https://coveralls.io/github/kipe/pycron?branch=master) + Simple cron-like parser for Python, which determines if current datetime matches conditions. ## Installation diff --git a/test-requirements.txt b/test-requirements.txt index 5f75326..e7d6234 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1 +1,3 @@ -pytz==2017.3 +coverage>=4.4.2 +coveralls>=1.2.0 +pytz>=2017.3