4f354e9fd2
Build the base framework for the neutron-specs repository. This was taken from the nova-specs repository and has been slightly tweaked for neutron. Change-Id: I1f3ce2f1992491e1420a2f35e97a06b6b604f9e0
18 lines
369 B
INI
18 lines
369 B
INI
[tox]
|
|
minversion = 1.6
|
|
envlist = docs,py27
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
install_command = pip install -U {opts} {packages}
|
|
deps = -r{toxinidir}/requirements.txt
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:docs]
|
|
commands = python setup.py build_sphinx
|