-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
70 lines (67 loc) · 1.53 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
65
66
67
68
69
70
[tox]
envlist =
py{27,34,35,36,37},
flake8,coverage,docs,
{selenium, selendroid}-{hub,node},
appium-node,
selenium-tests
[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
[testenv:py37]
commands = python setup.py test
[testenv:flake8]
skip_install = true
max-complexity = 10
commands = flake8 --ignore=D400,D205,I201,N812,D401,D413,D208 qalab/ tests/
deps =
pydocstyle==3.0.0
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:docs]
commands =
python setup.py sdist
check-manifest --ignore tox.ini,tests*,docs*,source-docs*
# twine check dist/*
sphinx-build -M html source-docs/source docs
deps =
check-manifest
twine
readme_renderer
Sphinx
sphinx_bootstrap_theme
# APP envs
[testenv:selenium-hub]
commands = python qalab/qaenv.py -sd selenium -m hub -i
deps = wget
[testenv:selenium-node]
commands = python qalab/qaenv.py -sd selenium -m node -i
deps = wget
[testenv:selendroid-hub]
commands = python qalab/qaenv.py -sd selendroid -m hub -i
deps = wget
[testenv:selendroid-node]
commands = python qalab/qaenv.py -sd selendroid -m node -i
deps = wget
[testenv:appium-node]
commands = python qalab/qaenv.py -sd appium -m node -i
deps = wget