From 7a2ba29e77e322c553626a29268120dcf99f73ed Mon Sep 17 00:00:00 2001 From: "Jip J. Dekker" Date: Wed, 4 Jun 2014 20:17:30 +0200 Subject: [PATCH] Added coverage --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 63c9412..099f3e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,14 @@ python: 2.7 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - pip install Scrapy docopt + - pip install coverall # command to run tests, e.g. python setup.py test script: - - nosetests tests + - nosetests --with-coverage --cover-package=FourmiCrawler tests notifications: - slack: descartes2:6sgCzx3PvrO9IIMwKxj12dDM \ No newline at end of file + slack: descartes2:6sgCzx3PvrO9IIMwKxj12dDM + +after_succes: + coveralls \ No newline at end of file