Skip to content

Commit

Permalink
Adding passenv to tox.ini.
Browse files Browse the repository at this point in the history
Fixes googleapis#874. As of tox 2.0, no environment variables are
passed through by default.
  • Loading branch information
dhermes committed May 13, 2015
1 parent 290b09e commit bb4e4df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,18 @@ deps =
pylint
unittest2
protobuf==3.0.0-alpha-1
passenv = {[testenv:regression]passenv}

[testenv:regression]
basepython =
python2.7
commands =
{toxinidir}/scripts/run_regression.sh
passenv = GOOGLE_* GCLOUD_* TRAVIS* encrypted_*

[testenv:regression3]
basepython =
python3.4
commands =
{toxinidir}/scripts/run_regression.sh
passenv = {[testenv:regression]passenv}

0 comments on commit bb4e4df

Please sign in to comment.