forked from dcos/dcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
88 lines (80 loc) · 1.89 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
[flake8]
max-line-length=120
exclude=packages/*/src,packages/*/result,packages/cache,.git,.tox
[pytest]
addopts = -vv
testpaths =
gen
packages/dcos-history/extra/
tests
[testenv:py34-syntax]
deps =
flake8
pep8-naming
teamcity-messages
isort
commands =
flake8 --verbose {env:CI_FLAGS:} ./
isort --recursive --check-only --diff --verbose docker gen packages/dcos-history/extra pkgpanda tests release ssh test_util
[testenv:py34-unittests]
passenv =
SSH_AUTH_SOCK
AZURE_STORAGE_ACCOUNT
AZURE_STORAGE_ACCESS_KEY
AZURE_DEV_STORAGE_ACCOUNT
AZURE_DEV_STORAGE_ACCESS_KEY
ENV_AWS_CONFIG
AWS_TESTING_ACCESS_KEY_ID
AWS_TESTING_SECRET_ACCESS_KEY
AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEV_ACCESS_KEY_ID
AWS_DEV_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
setenv =
PYTHONPATH={toxinidir}
deps =
pytest
pytest-mock
requests
teamcity-messages
webtest
webtest-aiohttp
commands=
./prep_local
py.test -rs --basetemp={envtmpdir} {env:CI_FLAGS:} {posargs}
[testenv:py34-pkgpanda-build]
whitelist_externals=bash
deps=
pytest
teamcity-messages
changedir=pkgpanda/build/tests
commands=
bash -c "cd ../../../ && ./prep_local"
py.test -rs -vv {env:CI_FLAGS:} --basetemp={envtmpdir} {posargs}
[testenv:py34-pkgpanda-unit-tests]
whitelist_externals=bash
deps=
pytest
teamcity-messages
changedir=pkgpanda/tests/unit_tests
commands=
bash -c "cd ../../../ && ./prep_local"
py.test -rs -vv {env:CI_FLAGS:} --basetemp={envtmpdir} {posargs}
[testenv:py34-pkgpanda-integration]
whitelist_externals=bash
deps=
pytest
teamcity-messages
changedir=pkgpanda/tests/integration_tests
commands=
bash -c "cd ../../../ && ./prep_local"
py.test -rs -vv {env:CI_FLAGS:} --basetemp={envtmpdir} {posargs}
[testenv:py34-bootstrap]
deps=
pytest
teamcity-messages
changedir=packages/bootstrap/extra
commands=
pip install .
py.test -rs -vv {env:CI_FLAGS:} --basetemp={envtmpdir} {posargs}