2015-01-02 14:40:24 +01:00
|
|
|
[tox]
|
2018-01-20 10:30:37 +01:00
|
|
|
envlist = flake8, yamllint, unit, integration, docs
|
2015-01-02 14:40:24 +01:00
|
|
|
|
2014-04-15 19:31:04 -05:00
|
|
|
[flake8]
|
2016-06-04 11:35:59 +02:00
|
|
|
ignore = E221,E241,E501
|
2014-04-15 19:31:04 -05:00
|
|
|
max-line-length = 110
|
|
|
|
|
2016-08-13 11:45:23 +02:00
|
|
|
[testenv]
|
|
|
|
basepython = python2.7
|
|
|
|
|
2014-04-27 09:59:11 -03:00
|
|
|
[testenv:flake8]
|
|
|
|
deps = flake8
|
2018-02-11 08:29:18 +00:00
|
|
|
commands = flake8 bootstrapvz/ tests/ {posargs}
|
2014-04-15 19:31:04 -05:00
|
|
|
|
2014-07-10 20:29:31 +02:00
|
|
|
[testenv:unit]
|
2014-04-30 14:49:26 -05:00
|
|
|
deps =
|
|
|
|
nose
|
|
|
|
nose-cov
|
2016-03-04 01:03:02 +01:00
|
|
|
commands = nosetests --verbose {posargs:tests/unit}
|
2015-04-11 14:12:00 +02:00
|
|
|
|
2016-03-03 23:56:27 +01:00
|
|
|
[testenv:integration]
|
|
|
|
deps =
|
|
|
|
nose
|
|
|
|
nose-cov
|
2016-03-04 01:03:02 +01:00
|
|
|
commands = nosetests --verbose {posargs:tests/integration}
|
2016-03-03 23:56:27 +01:00
|
|
|
|
2016-03-03 23:32:44 +01:00
|
|
|
[testenv:system]
|
2014-11-26 01:00:41 +01:00
|
|
|
deps =
|
|
|
|
nose
|
2015-04-12 17:05:21 -03:00
|
|
|
nose-cov
|
2015-04-12 22:48:11 +02:00
|
|
|
nose-htmloutput
|
2014-11-30 00:33:42 +01:00
|
|
|
pyvbox >= 0.2.0
|
2016-03-04 01:03:02 +01:00
|
|
|
commands = nosetests --with-html --html-file=system.html --verbose {posargs:tests/system}
|
2014-08-31 13:45:35 +02:00
|
|
|
|
2015-04-11 14:12:00 +02:00
|
|
|
[testenv:docs]
|
2015-04-11 15:16:18 +02:00
|
|
|
changedir = docs
|
2016-03-04 01:19:29 +01:00
|
|
|
deps =
|
2016-12-12 22:34:00 +01:00
|
|
|
sphinx != 1.5
|
2016-03-04 01:19:29 +01:00
|
|
|
sphinx_rtd_theme
|
2016-03-03 23:41:44 +01:00
|
|
|
commands = sphinx-build -W -b html -d _build/html/doctrees . _build/html
|
2018-01-20 10:30:37 +01:00
|
|
|
|
|
|
|
[testenv:yamllint]
|
|
|
|
deps = yamllint
|
|
|
|
commands = yamllint manifests
|