From 0626bf42cb6cd204164a84f61d91d8edccd21831 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Thu, 21 Nov 2013 04:32:02 +0100 Subject: [PATCH] travis.yml: add coveralls for coveralls.io, run tests with coverage --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c16fd17..810c9c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,10 @@ python: - "pypy" install: - "pip install --upgrade --use-mirrors -e ." + - "pip install coveralls" env: SECRET_KEY=justfortravis -script: "py.test --pep8" +script: "coverage run --source nsupdate --omit '*/migrations/*,*/_tests/*' -m py.test --pep8" +after_success: coveralls notifications: email: recipients: