From 624fe3f6253411c02d10e35c183fb4543fc86a0f Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Mon, 11 Apr 2016 00:17:14 +0100 Subject: [PATCH] tox.ini: configure coveralls --- tox.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tox.ini b/tox.ini index 727848130..ad60b9995 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,20 @@ commands = # run the test suite py.test +[testenv:coveralls] +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH +basepython=python3.5 +deps = + {[testenv]deps} + pytest-cov + coveralls +skip_install = true +ignore_outcome = true +commands= + # measure test coverage and upload report to coveralls + py.test --cov + coveralls + [pytest] minversion = 2.8 testpaths =