forked from dcos/dcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
99 lines (90 loc) · 1.98 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[flake8]
max-line-length=120
exclude=
# Package source build directories which contain arbitrary package code
packages/*/src,
# Package result build directories which contain arbitrary package code
packages/*/result,
# The local package cache
packages/cache,
# Tool folders
.git,.tox
ignore=
# TODO(cmaloney): Reduce the number of top level modules we have
application-import-names=dcos_installer,dcos_internal_utils,gen,history,pkgpanda,release,ssh,test_util
import-order-style=smarkets
[pytest]
addopts = -rs -vv
testpaths =
gen
packages/dcos-history/extra/
tests
[testenv:py34-syntax]
passenv =
TEAMCITY_VERSION
deps =
flake8
flake8-import-order==0.9.2
pep8-naming
teamcity-messages
commands =
flake8 --verbose
[testenv:py34-unittests]
passenv =
TEAMCITY_VERSION
SSH_AUTH_SOCK
AZURE_PROD_STORAGE_ACCOUNT
AZURE_PROD_STORAGE_ACCESS_KEY
AZURE_DEV_STORAGE_ACCOUNT
AZURE_DEV_STORAGE_ACCESS_KEY
AWS_TESTING_ACCESS_KEY_ID
AWS_TESTING_SECRET_ACCESS_KEY
AWS_PROD_ACCESS_KEY_ID
AWS_PROD_SECRET_ACCESS_KEY
AWS_DEV_ACCESS_KEY_ID
AWS_DEV_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
deps =
pytest
teamcity-messages
webtest
webtest-aiohttp
commands=
py.test --basetemp={envtmpdir} {posargs}
[testenv:py34-pkgpanda-build]
passenv =
TEAMCITY_VERSION
deps=
pytest
teamcity-messages
changedir=pkgpanda/build/tests
commands=
py.test --basetemp={envtmpdir} {posargs}
[testenv:py34-pkgpanda-unit-tests]
passenv =
TEAMCITY_VERSION
deps=
pytest
teamcity-messages
changedir=pkgpanda/tests/unit_tests
commands=
py.test --basetemp={envtmpdir} {posargs}
[testenv:py34-pkgpanda-integration]
passenv =
TEAMCITY_VERSION
deps=
pytest
teamcity-messages
changedir=pkgpanda/tests/integration_tests
commands=
py.test --basetemp={envtmpdir} {posargs}
[testenv:py34-bootstrap]
passenv =
TEAMCITY_VERSION
deps=
pytest
teamcity-messages
changedir=packages/bootstrap/extra
commands=
pip install .
py.test --basetemp={envtmpdir} {posargs}