-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathtox.ini
64 lines (61 loc) · 1.3 KB
/
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
52
53
54
55
56
57
58
59
60
61
62
63
64
[tox]
envlist = py27,py34,py35,py36,flake8,docs
deps =
qacode==0.6.2
[testenv:py27]
commands = python setup.py test
[testenv:py34]
commands = python setup.py test
[testenv:py35]
commands = python setup.py test
[testenv:py36]
commands = python setup.py test
[docs]
skip_install = true
commands = cd docs && make clean && make html
deps =
Sphinx
[testenv:flake8]
skip_install = true
max-complexity = 10
commands = flake8 --ignore=D400,D205,I201,N812,D401,D413,D208 testlink-tests/ tests/
deps =
flake8
flake8-docstrings>=0.2.7
flake8-import-order>=0.9
pep8-naming
flake8-colors
exclude =
.git,
__pycache__,
docs/source/conf.py,
old,
build,
dist,
logs,
.vscode,
.eggs,
.cache
[testenv:coverage]
description = Environment to generate coverage reports
commands =
py.test --cov=testlink-tests tests/ --cov-report html:tests/reports/coverage/ --cov-report xml:tests/reports/coverage.xml --cov-report term
deps =
pytest
pytest-html
pytest-dependency
coverage==4.3.4
pytest-cov==2.5.0
pytest-benchmark
pytest-benchmark[histogram]
exclude =
.git,
__pycache__,
docs/source/conf.py,
old,
build,
dist,
logs,
.vscode,
.eggs,
.cache