From ec48e7b59cbf16eadfc296ff50c79773164467f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Dlouh=C3=BD?= Date: Wed, 25 Jan 2017 21:21:56 +0100 Subject: [PATCH] report coverage to coveralls --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index df0638668..fad12dae7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,9 +13,12 @@ addons: # command to install dependencies install: - pip install -r requirements.txt - - pip install pyftpdlib pytest-xdist + - pip install pyftpdlib pytest-xdist pytest-cov coveralls # command to run tests -script: make test PYTESTOPTS="--tb=short" TESTS="tests/test_*.py tests/configuration/test_*.py tests/logger/test_*.py tests/cache/test_*.py tests/checker/test_httpbin.py" +script: + - make test PYTESTOPTS="--tb=short --cov=linkcheck" TESTS="tests/test_*.py tests/configuration/test_*.py tests/logger/test_*.py tests/cache/test_*.py tests/checker/test_httpbin.py" # do not send emails of broken builds notifications: email: false +after_script: + - coveralls