From 0c7b6e26aad8d710eca529c89aa79598e10eb7dd Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 14 Nov 2014 22:23:48 -0800 Subject: [PATCH] Add test coverage tracking via coveralls --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa81e929d7b..11585f5e11f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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