-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
77 lines (70 loc) · 1.66 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
[flake8]
max-line-length=120
[pytest]
addopts = -vv
testpaths =
gen
packages/dcos-history-service/extra/
pytest
[testenv:py34-syntax]
deps =
flake8
teamcity-messages
isort
commands =
flake8 --verbose {env:CI_FLAGS:} --exclude="packages/*/src,packages/*/result,packages/*/cache,.git" ./
isort --recursive --check-only --diff --verbose docker gen packages/dcos-history-service/extra pkgpanda pytest 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_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_DEV_ACCESS_KEY_ID
AWS_DEV_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION
setenv =
PYTHONPATH={toxinidir}
deps =
flask>=0.10.1
flask-compress
pytest
pytest-mock==0.11.0
requests
teamcity-messages
webtest==2.0.20
webtest-aiohttp==1.0.0
commands=
./prep_local
py.test --basetemp={envtmpdir} {env:CI_FLAGS:} {posargs}
[testenv:py34-pkgpanda]
whitelist_externals=bash
deps=
pytest
teamcity-messages
changedir=pkgpanda/tests
commands=
bash -c "cd ../../ && ./prep_local"
py.test -vv {env:CI_FLAGS:} --basetemp={envtmpdir} {posargs}
[testenv:py34-pkgpanda-build]
whitelist_externals=bash
deps=
pytest
teamcity-messages
changedir=pkgpanda/build/tests
commands=
bash -c "cd ../../../ && ./prep_local"
py.test -vv {env:CI_FLAGS:} --basetemp={envtmpdir} {posargs}
[testenv:py34-pkgpanda-integration]
whitelist_externals=bash
deps=
pytest
teamcity-messages
changedir=pkgpanda/integration-tests
commands=
bash -c "cd ../../ && ./prep_local"
py.test -vv {env:CI_FLAGS:} --basetemp={envtmpdir} {posargs}