Commit aeb6c943 authored by Paul Ganssle's avatar Paul Ganssle

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.
parent a2b444f1
......@@ -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}"}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment