From 2d26e8cf3585f4dbdbbed0bed45f936ef3d9efbf Mon Sep 17 00:00:00 2001 From: Teemu R Date: Wed, 9 Aug 2017 13:07:24 +0200 Subject: [PATCH] make tox run pytest-cov, add coveralls (#81) * make tox run pytest-cov, add coveralls * another try, just with module name --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 78d72ac4..3891d1d4 100644 --- a/tox.ini +++ b/tox.ini @@ -8,10 +8,15 @@ envlist=py34,py35,py36,flake8 3.6 = py36 [testenv] +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH deps= pytest + pytest-cov voluptuous -commands=py.test pyHS100 + coveralls +commands= + py.test --cov pyHS100 + coveralls [testenv:flake8] deps=flake8