Skip to content

Commit 12edc4e

Browse files
committed
Pass TRAVIS env var to test environments [skip appveyor]
xdist has an workaround inplace for Travis so "-n auto" works. Fix #4162
1 parent 9087ac4 commit 12edc4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ commands =
2121
{env:_PYTEST_TOX_COVERAGE_RUN:} pytest --lsof
2222
coverage: coverage combine
2323
coverage: coverage report
24-
passenv = USER USERNAME COVERAGE_*
24+
passenv = USER USERNAME COVERAGE_* TRAVIS
2525
setenv =
2626
# configuration if a user runs tox with a "coverage" factor, for example "tox -e py36-coverage"
2727
coverage: _PYTEST_TOX_COVERAGE_RUN=coverage run -m

0 commit comments

Comments
 (0)