Skip to content

Commit

Permalink
Merge pull request kipe#7 from kipe/coverage
Browse files Browse the repository at this point in the history
Add coverage to tests
  • Loading branch information
kipe authored Dec 30, 2017
2 parents 0e928b9 + 320b788 commit 0a08964
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 3 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
pytz==2017.3
coverage>=4.4.2
coveralls>=1.2.0
pytz>=2017.3

0 comments on commit 0a08964

Please sign in to comment.