-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtox.ini
43 lines (31 loc) · 839 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
41
42
[tox]
envlist = py27
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = nosetests {posargs:--with-xunit -v}
[testenv:fakes3]
passenv = ECSTEST_* TEAMCITY*
sitepackages = False
commands = ./runtest -c fakes3.cfg --no-stop dataplane
[testenv:lint]
sitepackages = False
commands = flake8 {posargs: ecstest}
[flake8]
exclude = .git,.idea,.tox,dist
[testenv:teamcity]
whitelist_externals =
/usr/bin/env
passenv = ECSTEST_* TEAMCITY*
sitepackages = False
commands =
env
nosetests --with-timer --with-ecstest-info ecstest/testcases/{env:ECSTEST_TEAMCITY_PLANE:data}plane
[testenv:teamcity-fail-triage]
whitelist_externals =
/usr/bin/env
passenv = ECSTEST_* TEAMCITY*
sitepackages = False
commands =
env
nosetests --with-fail-triage --with-ecstest-info ecstest/testcases