Add test coverage tracking via coveralls

This commit is contained in:
Paulus Schoutsen 2014-11-14 22:23:48 -08:00
parent 20ff5fadee
commit 0c7b6e26aa

View File

@ -3,8 +3,10 @@ python:
- "3.4" - "3.4"
install: install:
- pip install -r requirements.txt - pip install -r requirements.txt
- pip install pep8 pylint - pip install pep8 pylint coveralls
script: script:
- pep8 homeassistant --exclude bower_components,external - pep8 homeassistant --exclude bower_components,external
- pylint homeassistant - pylint homeassistant
- python -m homeassistant -t test - coverage run --source=homeassistant -m homeassistant -t test
after_success:
- coveralls