forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (37 loc) · 974 Bytes
/
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
[tox]
skipsdist = true
envlist = py27, flake8
[testenv]
passenv = PYTEST_ADDOPTS PYTEST_BASE_URL SAUCELABS_API_KEY SAUCELABS_USERNAME \
JENKINS_URL JOB_NAME BUILD_NUMBER MOZ_HEADLESS MOZ_BINARY_PATH
deps =
bidpom==2.0.1
mozlog==3.5
PyPOM==1.2.0
pytest==3.2.2
pytest-base-url==1.4.1
pytest-html==1.15.2
pytest-metadata==1.5.0
pytest-selenium==1.11.1
pytest-variables==1.7.0
pytest-xdist==1.20.0
selenium==3.5.0
requests==2.18.4
commands = pytest \
--junit-xml=results/{envname}.xml \
--html=results/{envname}.html --self-contained-html \
--log-raw=results/{envname}_raw.txt \
--log-tbpl=results/{envname}_tbpl.txt \
{posargs}
[testenv:flake8]
skip_install = true
deps = flake8
commands = flake8 {posargs:.}
[flake8]
ignore = E501
[pytest]
addopts = -n=auto --verbose -r=a --driver=Firefox
testpaths = tests
xfail_strict = true
base_url = https://crash-stats.allizom.org
sensitive_url = mozilla\.org