From 44c7a2575d2363c4b45f389a0bb2251e2f2f6685 Mon Sep 17 00:00:00 2001 From: Markus Holtermann Date: Thu, 24 Jan 2013 23:34:20 +0100 Subject: Add coverage for travis --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index b4a1dad..8b9a2e1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ python: - "3.2" - "3.3" # command to install dependencies -install: "pip install -r requirements.txt --use-mirrors" +install: + - pip install -r requirements.txt --use-mirrors + - pip install coverage # command to run tests -script: python -m unittest tests +script: coverage run -m unittest -v tests/test_*.py && coverage report -m -- cgit v1.2.3