aboutsummaryrefslogtreecommitdiffstats
path: root/aria/multivim-plugin/tox.ini
diff options
context:
space:
mode:
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