From 145f67107737026a0cdd1be6aab1c347ad4d5a75 Mon Sep 17 00:00:00 2001 From: Nejc Zupan Date: Wed, 4 Dec 2013 14:37:40 +0100 Subject: [PATCH] add test coverage support --- .travis.yml | 3 ++- setup.py | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 573fc19..962493c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,8 @@ install: - bin/buildout script: - - bin/nosetests + - bin/coverage run --source=tests.py --branch bin/nosetests + - bin/coverage html -i - bin/mrbob -O plone.foo --config test_answers.ini ./bobtemplates/plone - cd plone.foo - make diff --git a/setup.py b/setup.py index b2c29a8..1c0cf82 100644 --- a/setup.py +++ b/setup.py @@ -33,6 +33,7 @@ ], extras_require={ 'test': [ + 'coverage', 'nose', 'nose-selecttests', 'scripttest',