forked from SeleniumHQ/selenium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (31 loc) · 1.05 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
[tox]
envlist = py{27,36}-{chrome,edge,firefox,ie,phantomjs,remote,safari}, docs, flake8
[testenv]
passenv = DISPLAY PYTEST_ADDOPTS
commands =
py{27,36}-chrome: py.test -n=auto --driver=Chrome {posargs}
py{27,36}-edge: py.test --driver=Edge {posargs}
py{27,36}-firefox: py.test -n=auto --driver=Firefox {posargs}
py{27,36}-ie: py.test --driver=Ie {posargs}
py{27,36}-marionette: py.test -n=auto --driver=Marionette {posargs}
py{27,36}-phantomjs: py.test -n=auto --driver=PhantomJS {posargs}
py{27,36}-remote: py.test --driver=Remote {posargs}
py{27,36}-safari: py.test --driver=Safari {posargs}
deps =
pytest==3.0.3
pytest-instafail==0.3.0
py{27,36}-phantomjs: psutil==4.3.1
py{27,36}-{chrome,firefox,marionette,phantomjs}: pytest-xdist==1.15
[testenv:docs]
skip_install = true
deps =
docutils==0.11
Jinja2==2.7
MarkupSafe==0.18
Pygments==1.6
Sphinx==1.2b1
commands = sphinx-build -W -b html -d build/doctrees py/docs/source build/docs/api/py {posargs}
[testenv:flake8]
skip_install = true
deps = flake8
commands = flake8 {posargs:py}