I have a tox.ini
file like this:
[tox]
envlist =
{py27,py34}
[testenv]
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
-r{toxinidir}/requirements-test.txt
commands =
nosetests -v --stop --with-coverage --cover-package=project
So, I need to pass to my tox env an environment variable from my SO. This variable is private and changes according to the environment.
How I do it?
I found the solution! Tox 2.0 has a settings called passenv