From 9b684dbf8587f7fc3a7af6cee152a2cf004d7189 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Wed, 15 Mar 2017 18:52:43 +0100 Subject: [PATCH] adding coverage --- .travis.yml | 6 +++++- tests.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4a73a7a..d4e4823 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,5 +7,9 @@ python: - "nightly" install: - "pip install pep8" + - "pip install coveralls" - "pip install -r requirements.txt" -script: ./tests.sh +script: + ./tests.sh +after_success: + coveralls diff --git a/tests.sh b/tests.sh index 9d6fdfb..bd38d71 100755 --- a/tests.sh +++ b/tests.sh @@ -7,4 +7,4 @@ set -ev pep8 dotdrop/ pep8 tests/ -PYTHONPATH=dotdrop nosetests -w tests +PYTHONPATH=dotdrop nosetests --with-coverage --cover-package=dotdrop