forked from andsens/bootstrap-vz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
51 lines (42 loc) · 947 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[tox]
envlist = flake8, pylint, yamllint, unit, integration, docs
[flake8]
ignore = E221,E241,E501,W504
max-line-length = 110
[testenv]
basepython = python2.7
[testenv:flake8]
deps = flake8
commands = flake8 bootstrapvz/ tests/ {posargs}
[testenv:pylint]
deps =
pylint
nose
pyvbox
commands = pylint bootstrapvz/ tests/ setup.py
[testenv:unit]
deps =
nose
nose-cov
commands = nosetests --verbose {posargs:tests/unit}
[testenv:integration]
deps =
nose
nose-cov
commands = nosetests --verbose {posargs:tests/integration}
[testenv:system]
deps =
nose
nose-cov
nose-htmloutput
pyvbox >= 0.2.0
commands = nosetests --with-html --html-file=system.html --verbose {posargs:tests/system}
[testenv:docs]
changedir = docs
deps =
sphinx != 1.5
sphinx_rtd_theme
commands = sphinx-build -W -b html -d _build/html/doctrees . _build/html
[testenv:yamllint]
deps = yamllint
commands = yamllint manifests