blob: b3572d70d21c5336092ebe9376b52b30ce78337d (
plain)
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
|
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist=flake8,docs,py27
[testenv]
deps =
-rdev-requirements.txt
[testenv:py27]
deps =
coverage==3.7.1
nose
nose-cov
mock
testfixtures
{[testenv]deps}
commands =
nosetests --with-cov --cov-report term-missing \
--cov cinder_plugin cinder_plugin/tests \
--cov glance_plugin glance_plugin/tests \
--cov keystone_plugin keystone_plugin/tests \
--cov neutron_plugin \
neutron_plugin/tests/test_port.py neutron_plugin/tests/test_security_group.py \
--cov nova_plugin nova_plugin/tests \
--cov openstack_plugin_common openstack_plugin_common/tests
[testenv:docs]
changedir=docs
deps =
git+https://github.com/cloudify-cosmo/sphinxify.git@initial-work
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]
deps =
flake8
{[testenv]deps}
commands =
flake8 cinder_plugin
flake8 neutron_plugin
flake8 nova_plugin
flake8 openstack_plugin_common
flake8 glance_plugin
flake8 keystone_plugin
|