add coverage test to travis

This commit is contained in:
Vadim Kravcenko 2015-04-24 10:38:08 +02:00
parent 360168ff10
commit 3f5831a1c4

View File

@ -12,9 +12,10 @@ python:
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- "pip install -r requirements.txt"
- "pip install coverage"
- "pip install coveralls"
# command to run tests, e.g. python setup.py test
script: python setup.py test
script: coverage run --source=pipreqs setup.py test
after_success:
coveralls