[tox] envlist = bashate,pep8 minversion = 2.3 skipsdist = True [testenv] install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} OS_STDOUT_CAPTURE=1 OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 deps = -r{toxinidir}/test-requirements.txt [testenv:bashate] commands = bash -c "ls build-tools/*.sh | xargs bashate -v {posargs}" [testenv:pep8] usedevelop = False skip_install = True deps = pep8 commands = pep8 [testenv:venv] commands = {posargs} [testenv:true] # Use same environment directory as pep8 env to save space and install time envdir = {toxworkdir}/venv commands = true whitelist_externals = true