From 5246ab6bf01af8d5b838d18fd18d222549179f49 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sun, 6 Oct 2013 20:38:52 +0200 Subject: [PATCH] travis: Send test coverage data to coveralls.io --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0b68eb8f..b53a8734 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,14 +5,17 @@ install: - "sudo wget -O /etc/apt/sources.list.d/mopidy.list http://apt.mopidy.com/mopidy.list" - "sudo apt-get update || true" - "sudo apt-get install $(apt-cache depends mopidy | awk '$2 !~ /mopidy/ {print $2}')" - - "pip install flake8" + - "pip install coveralls flake8" before_script: - "rm $VIRTUAL_ENV/lib/python$TRAVIS_PYTHON_VERSION/no-global-site-packages.txt" script: - "flake8 $(find . -iname '*.py')" - - "nosetests" + - "nosetests --with-coverage --coverage-package=mopidy" + +after_success: + - "coveralls" notifications: irc: