From aeb6c9435b50715f91f4ad06e387172be9742beb Mon Sep 17 00:00:00 2001 From: Paul Ganssle Date: Wed, 21 Mar 2018 11:16:18 -0400 Subject: Add travis, appveyor and codecov passenvs Some of these environment variables are necessary codecov to detect that it is on travis/appveyor and thus doesn't need an upload token. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 2201768d..2c3de95e 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ [testenv] deps=-rtests/requirements.txt setenv=COVERAGE_FILE={toxworkdir}/.coverage.{envname} -passenv=APPDATA USERPROFILE HOMEDRIVE HOMEPATH windir APPVEYOR +passenv=APPDATA USERPROFILE HOMEDRIVE HOMEPATH windir APPVEYOR APPVEYOR_* CI CODECOV_* TRAVIS TRAVIS_* # These are separate so xfail tests don't count towards code coverage commands=pytest -m "not xfail" {posargs: "{toxinidir}" --cov-config={toxinidir}/tox.ini --cov=setuptools} pytest -m "xfail" {posargs: "{toxinidir}"} -- cgit v1.2.3