From 521a15f221b1d184b781e78b65059a896ebd847a Mon Sep 17 00:00:00 2001 From: Inso <insomniak.fr@gmail.com> Date: Wed, 18 Nov 2015 13:33:40 +0100 Subject: [PATCH] Compute coverage of unit tests --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 39d0c01d..566dd8d3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,9 @@ python: before_install: - bash ci/libsodium.sh install: - - pip install -r requirements.txt + - pip install -r requirements.txt # command to run tests -script: python setup.py test \ No newline at end of file +script: + - coverage run --source=ucoinpy setup.py test +after_success: + - coveralls \ No newline at end of file -- GitLab