2015-01-02 14:40:24 +01:00
|
|
|
[tox]
|
2016-03-03 23:41:44 +01:00
|
|
|
envlist = flake8, unit, docs
|
2015-01-02 14:40:24 +01:00
|
|
|
|
2014-04-15 19:31:04 -05:00
|
|
|
[flake8]
|
|
|
|
ignore = E101,E221,E241,E501,W191
|
|
|
|
max-line-length = 110
|
|
|
|
|
2014-04-27 09:59:11 -03:00
|
|
|
[testenv:flake8]
|
|
|
|
deps = flake8
|
2015-10-29 21:24:25 -02:00
|
|
|
commands = flake8 bootstrapvz/ tests/ --exclude=minify_json.py {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
|
2015-03-25 21:07:25 +01:00
|
|
|
commands = nosetests --with-coverage --cover-package=bootstrapvz --cover-inclusive --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
|
|
|
|
commands = nosetests --with-coverage --cover-package=bootstrapvz --cover-inclusive --verbose {posargs:tests/integration}
|
|
|
|
|
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 13:58:10 +01:00
|
|
|
Pyro4 >= 4.30
|
2014-11-30 00:33:42 +01:00
|
|
|
pyvbox >= 0.2.0
|
2016-03-03 23:32:44 +01:00
|
|
|
commands = nosetests --with-coverage --cover-package=bootstrapvz --cover-inclusive --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-03 23:41:44 +01:00
|
|
|
deps = sphinx
|
|
|
|
commands = sphinx-build -W -b html -d _build/html/doctrees . _build/html
|