From edfadf3a7c641294d639ae03b11aab6571e631c6 Mon Sep 17 00:00:00 2001 From: Anatoly Bubenkov Date: Tue, 16 Jun 2015 01:12:24 +0200 Subject: [PATCH 1/2] pass coveralls env --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 7f083a709..680cd2076 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,7 @@ commands= py.test --lsof -rfsxX --junitxml={envlogdir}/junit-{envname}.xml [] deps= nose mock +passenv=COVERALLS_REPO_TOKEN [testenv:py27-subprocess] changedir=. @@ -151,7 +152,6 @@ commands= coverage run --source=_pytest {envdir}/bin/py.test coverage report -m coveralls -passenv=COVERALLS_REPO_TOKEN [pytest] minversion=2.0 From b38cadbecd9270ebd8b79d47525f10136de183a7 Mon Sep 17 00:00:00 2001 From: Anatoly Bubenkov Date: Tue, 16 Jun 2015 01:37:55 +0200 Subject: [PATCH 2/2] pass coveralls env --- tox.ini | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index 680cd2076..ffea634c3 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,6 @@ commands= py.test --lsof -rfsxX --junitxml={envlogdir}/junit-{envname}.xml [] deps= nose mock -passenv=COVERALLS_REPO_TOKEN [testenv:py27-subprocess] changedir=. @@ -143,13 +142,15 @@ commands= {envpython} tox_run.py [testenv:coveralls] -changedir=testing +passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH +changedir= +usedevelop=True basepython=python3.4 deps = {[testenv]deps} coveralls commands= - coverage run --source=_pytest {envdir}/bin/py.test + coverage run --source=_pytest {envdir}/bin/py.test testing coverage report -m coveralls