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