Add test coverage tracking via coveralls

pull/12/head
Paulus Schoutsen 2014-11-14 22:23:48 -08:00
parent 20ff5fadee
commit 0c7b6e26aa
1 changed files with 4 additions and 2 deletions

View File

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