2012-06-11 11:07:14 +01:00
|
|
|
[tox]
|
2013-09-17 16:34:21 +00:00
|
|
|
minversion = 1.6
|
2014-09-30 15:20:19 -04:00
|
|
|
envlist = pep8
|
2013-09-19 07:57:23 -07:00
|
|
|
skipsdist = True
|
2012-06-11 11:07:14 +01:00
|
|
|
|
2013-09-17 16:34:21 +00:00
|
|
|
[testenv]
|
2013-09-19 07:57:23 -07:00
|
|
|
usedevelop = True
|
|
|
|
install_command = pip install {opts} {packages}
|
|
|
|
deps = -r{toxinidir}/test-requirements.txt
|
2013-09-17 16:34:21 +00:00
|
|
|
|
2012-06-15 23:25:59 -07:00
|
|
|
[testenv:pep8]
|
2013-09-19 07:57:23 -07:00
|
|
|
commands = flake8
|
2012-09-26 13:39:31 -07:00
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
2013-09-19 07:57:23 -07:00
|
|
|
|
2014-08-27 14:10:16 -04:00
|
|
|
[testenv:docs]
|
|
|
|
commands = python setup.py build_sphinx
|
|
|
|
|
2013-09-19 07:57:23 -07:00
|
|
|
[flake8]
|
|
|
|
show-source = True
|
2013-09-20 14:58:20 -07:00
|
|
|
exclude = .tox
|
2013-09-19 07:57:23 -07:00
|
|
|
ignore = E125,H
|
2014-05-29 23:48:56 +02:00
|
|
|
select = H231
|
2014-03-28 08:02:39 -07:00
|
|
|
|
2014-08-06 17:53:19 -07:00
|
|
|
[testenv:bashate]
|
2014-09-03 19:06:12 -07:00
|
|
|
commands = {toxinidir}/tools/run-bashate.sh
|
2015-03-17 11:06:23 +11:00
|
|
|
|
|
|
|
[testenv:nodepool]
|
2015-06-12 16:07:50 -07:00
|
|
|
commands = nodepool -c {toxinidir}/modules/openstack_project/templates/nodepool/nodepool.yaml.erb config-validate
|
|
|
|
|
|
|
|
[testenv:modulesenv]
|
|
|
|
commands = python {toxinidir}/tools/sorted_modules_env.py {toxinidir}/modules.env
|