forked from netzulo/qalab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
66 lines (64 loc) · 1.36 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
[tox]
envlist =
py27,
py34,
py35,
py36,
flake8,
docs,
selenium-hub,
selenium-node,
selendroid-hub,
selendroid-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:docs]
skip_install = true
commands = sphinx-build -b html qalab docs
deps =
Sphinx
[testenv:flake8]
skip_install = true
max-complexity = 10
commands = flake8 --ignore=D400,D205,I201,N812,D401,D413,D208 qalab/ 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
# 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