Travis Secure Env Variables Not Used In Tox
I can see in my travis build log that env variables are exported correctly : Setting environment variables from .travis.yml $ export K_API_KEY=[secure] $ export K_PRIVATE_KEY=[secu
Solution 1:
As righlty pointed by @jonrsharpe the solution is to use the passenv
option in tox.ini as described in the documentation
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pykraken
passenv =
K_API_KEY
K_PRIVATE_KEY
Post a Comment for "Travis Secure Env Variables Not Used In Tox"