forked from mozilla/mozilla_ci_tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
53 lines (45 loc) · 1.41 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
[tox]
envlist = py27_current_deps
[testenv]
basepython = python2.7
deps =
coverage
flake8
flake8_docstrings
mock
pytest
pytest-capturelog
whitelist_externals =
wget
cp
[testenv:py27_current_deps]
deps =
{[testenv]deps}
buildapi_client==0.2.2
ijson==2.2
keyring==5.3
progressbar==2.3
pushlog_client==0.5.0
PyYAML==3.11
requests==2.8.1
taskcluster==0.3.0
treeherder-client==2.0.1
jsonschema==2.5.1
commands =
wget --no-clobber --random-wait https://secure.pub.build.mozilla.org/builddata/reports/allthethings/allthethings.20170612034501._332d994a305d_4cfcc98e2584_66760f869a2e.json
cp allthethings.20170612034501._332d994a305d_4cfcc98e2584_66760f869a2e.json test/fixtures/allthethings.json
flake8 mozci test
coverage run --source=mozci -m py.test test
[testenv:py27_new_deps]
deps =
{[testenv]deps}
commands =
wget --no-clobber --random-wait https://secure.pub.build.mozilla.org/builddata/reports/allthethings/allthethings.20170612034501._332d994a305d_4cfcc98e2584_66760f869a2e.json
cp allthethings.20170612034501._332d994a305d_4cfcc98e2584_66760f869a2e.json test/fixtures/allthethings.json
flake8 mozci test
coverage run --source=mozci -m py.test test
[flake8]
exclude = .tox
show-source = True
max-line-length=100
ignore=D100,D101,D102,D103,D104,D105,D200,D201,D202,D203,D204,D205,D208,D210,D211,D300,D400,D401,D403,E123