blob: 85a0d8637477f4139d64dc46771fbb7dc890256e [file] [log] [blame]
Jay Pipesa6aa5f22012-07-24 19:40:29 -04001[tox]
2envlist = pep8
3
4[testenv]
5setenv = VIRTUAL_ENV={envdir}
6 NOSE_WITH_OPENSTACK=1
7 NOSE_OPENSTACK_COLOR=1
8 NOSE_OPENSTACK_RED=15
9 NOSE_OPENSTACK_YELLOW=3
10 NOSE_OPENSTACK_SHOW_ELAPSED=1
11 NOSE_OPENSTACK_STDOUT=1
12deps = -r{toxinidir}/tools/pip-requires
13 -r{toxinidir}/tools/test-requires
14commands = nosetests {posargs}
15
Matthew Treinishd15705b2012-10-16 14:04:48 -040016[testenv:coverage]
Matthew Treinishabfa1492013-01-11 14:28:29 -050017commands = python -m tools/tempest_coverage -c start --combine
Matthew Treinishd15705b2012-10-16 14:04:48 -040018 nosetests {posargs}
Matthew Treinishabfa1492013-01-11 14:28:29 -050019 python -m tools/tempest_coverage -c report --html
Matthew Treinishd15705b2012-10-16 14:04:48 -040020
Jay Pipesa6aa5f22012-07-24 19:40:29 -040021[testenv:pep8]
afazekas4d1bee82013-03-25 17:36:04 +010022commands = bash tools/check_source.sh