forked from apache/incubator-retired-cotton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (37 loc) · 1.18 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
[tox]
envlist = py27
[testenv]
deps = pytest
install_command = pip install -e .[test] --find-links {toxinidir}/3rdparty {opts} {packages}
commands = py.test -v -k 'not test_scheduler_runs' tests {posargs:}
[testenv:integration]
deps =
pex<1
pytest
wheel
whitelist_externals=mkdir
commands =
mkdir -p {toxinidir}/dist/
pip install --find-links {toxinidir}/3rdparty -e .[scheduler]
pex \
--source-dir={toxinidir} \
--output-file={toxinidir}/dist/fake_mysos_executor.pex \
--requirement=mesos.native \
--requirement=zake \
--repo={toxinidir}/3rdparty \
--entry-point="mysos.executor.testing.fake_mysos_executor:proxy_main"
py.test -v -k 'test_scheduler_runs' tests {posargs:}
[testenv:style]
deps =
twitter.common.app==0.3.0
twitter.common.collections==0.3.0
twitter.common.lang==0.3.0
twitter.common.log==0.3.0
twitter.checkstyle==0.1.0
skip_install = True
commands = twitterstyle -n ImportOrder mysos tests
# This currently requires the Vagrant VM to be up.
# TODO(jyx): Launch Vagrant here directly.
[testenv:vagrant]
install_command = pip install -e .[test_client] --find-links {toxinidir}/3rdparty {opts} {packages}
commands = {toxinidir}/vagrant/test.sh