4 envlist = py{27,3},pep8,functional{,-py3},coverage
8 passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY BRANCH
10 -r{toxinidir}/requirements.txt
11 -r{toxinidir}/test-requirements.txt
12 whitelist_externals = /bin/bash
16 /bin/bash {toxinidir}/tools/run_tests.sh --unit
20 commands = {[testenv:py27]commands}
23 # for gate testing, scans only the files changed in the last commit
25 /bin/bash tools/coding-checks.sh --pylint HEAD~ '{posargs}'
28 # For manual testing, scans the whole codebase
30 /bin/bash tools/coding-checks.sh --pylint '{posargs}'
35 /bin/bash {toxinidir}/tools/run_tests.sh --coverage
39 /bin/bash {toxinidir}/tools/run_tests.sh --functional
41 [testenv:functional-py3]
43 commands = {[testenv:functional]commands}
45 [testenv:os-requirements]
47 python {toxinidir}/tools/os-requirements-check.py {envdir}