File: tox.ini

package info (click to toggle)
bootstrap-vz 0.9.10%2B20170110git-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,208 kB
  • sloc: python: 8,400; sh: 744; makefile: 16
file content (40 lines) | stat: -rw-r--r-- 780 bytes parent folder | download
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
[tox]
envlist = flake8, unit, integration, docs

[flake8]
ignore = E221,E241,E501
max-line-length = 110

[testenv]
basepython = python2.7

[testenv:flake8]
deps = flake8
commands = flake8 bootstrapvz/ tests/ --exclude=minify_json.py {posargs}

[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