summaryrefslogtreecommitdiffstats
path: root/aria/multivim-plugin/tox.ini
diff options
context:
space:
mode:
authordfilppi <dewayne@gigaspaces.com>2017-08-07 20:10:53 +0000
committerdfilppi <dewayne@gigaspaces.com>2017-08-07 20:10:53 +0000
commit9981f55920a6f1c1f20396d42e35b075b22f6a8f (patch)
tree1199993b9bae728c5274ae3062988dc9f357eb5b /aria/multivim-plugin/tox.ini
parent4538e26e2a60bd325d63c19bcc7d0fed37ccce96 (diff)
ARIA multivim plugin initial checkin
Change-Id: I3a24ab6fc5ba54466bfecaf596a13b8907248ae8 Issue-id: SO-77 Signed-off-by: DeWayne Filppi <dewayne@gigaspaces.com>
Diffstat (limited to 'aria/multivim-plugin/tox.ini')
-rw-r--r--aria/multivim-plugin/tox.ini44
1 files changed, 44 insertions, 0 deletions
diff --git a/aria/multivim-plugin/tox.ini b/aria/multivim-plugin/tox.ini
new file mode 100644
index 0000000000..b3572d70d2
--- /dev/null
+++ b/aria/multivim-plugin/tox.ini
@@ -0,0 +1,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