From 271c5927565446d75dc68fca7995eec835978ab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Mon, 13 Feb 2017 16:46:27 +0100 Subject: [PATCH] report coverate to Coveralls --- .travis.yml | 4 +++- tox.ini | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d118bf94..f2a8971e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,10 +7,12 @@ branches: - master # command to install dependencies install: - - pip install tox-travis + - pip install tox-travis coveralls # command to run tests script: - tox # do not send emails of broken builds notifications: email: false +after_script: + - coveralls diff --git a/tox.ini b/tox.ini index 54aa435c..f0aa2bfe 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,8 @@ deps = -rrequirements.txt pyftpdlib pytest-xdist + pytest-cov commands = - py.test {posargs:--tb=short tests} + py.test {posargs:--tb=short --cov=linkcheck tests} setenv = LC_ALL=en_US.utf-8