forked from dcos/dcos-test-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (34 loc) · 768 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
[tox]
envlist = py35-{syntax,unit-tests}
[flake8]
deps = flake8-import-order==0.9.2
max-line-length = 120
exclude = .git,.tox,__pycache__
application-import-names = dcos_test_utils
import-order-style = smarkets
[pytest]
addopts = -rs -vv
testpaths = tests
[testenv]
deps =
-rrequirements.txt
teamcity-messages
[testenv:py35-syntax]
passenv = TEAMCITY_VERSION
deps = flake8==3.3.0
commands = flake8 --verbose
[testenv:py35-unit-tests]
passenv = TEAMCITY_VERSION
commands = py.test {posargs}
[testenv:py35-integration-tests]
passenv =
TEAMCITY_VERSION
MASTER_HOSTS
SLAVE_HOSTS
PUBLIC_SLAVE_HOSTS
DCOS_DNS_ADDRESS
DCOS_LOGIN_UNAME
DCOS_LOGIN_PW
DCOS_ENTERPRISE
WAIT_FOR_HOSTS
commands = py.test {posargs} integration_test.py