You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Travis regression tests are being run when they shouldn't be #874
(new) introduce environment variable isolation: tox now only passes the PATH and PIP_INDEX_URL variable from the tox invocation environment to the test environment and on Windows also SYSTEMROOT, PATHEXT, TEMP and TMP whereas on unix additionally TMPDIR is passed. If you need to pass through further environment variables you can use the new passenv setting, a space-separated list of environment variable names. Each name can make use of fnmatch-style glob patterns. All environment variables which exist in the tox-invocation environment will be copied to the test environment.
Activity
dhermes commentedon May 13, 2015
It looks like the
TRAVISenvironment variables are not being set.Running
env | grep -i traviswe find onlyThough the ci-environment is expected to have
dhermes commentedon May 13, 2015
Getting a list of every single environment variable set, we see it's quite short:
$ python -c "import os; print '\n'.join(os.environ.keys())" _ SHLVL VIRTUAL_ENV PWD PYTHONHASHSEED PATHtseaver commentedon May 13, 2015
I believe this is actually due to tox 2.0.x:
dhermes commentedon May 13, 2015
Yay!
Thanks @tseaver
Adding passenv to tox.ini.
Adding passenv to tox.ini.
chore: move samples from python-docs-sample (#45)
chore(python): fix typo in README (#874)
chore: Update gapic-generator-python to v1.11.9 (#874)
style: update Python client library templates to align with the Pytho…
chore: store artifacts in placer (#874)
fix: Dummy change to trigger a release PR (#874)
chore: exclude requirements.txt file from renovate-bot (#874)
tests: adding support for array testing in postgres (#874)