nova-zvm-virt-driver/tox.ini
Huang Rui 50b6816f88 Project restructure
Project restructure to make the project work as a StackForge
project.

By:
- Update .testr.conf and tox.ini for python-jobs
- Rename project top level dir
- Put unittest script to the folder that should be
- Updtae doc/ and README.rst
- Update setup.cfg

Change-Id: Ia00ac57630385e5dcca3020d67115b46894bd0a9
2015-04-07 11:22:05 +08:00

36 lines
916 B
INI

[tox]
minversion = 1.6
envlist = pep8,py27
skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-egit+https://github.com/openstack/nova#egg=nova
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
[testenv:py27]
commands = /bin/cp -r {toxinidir}/nova/virt/zvm/ {toxinidir}/.tox/py27/src/nova/nova/virt/
python setup.py testr --slowest --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[flake8]
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
[hacking]
import_exceptions = nova.i18n