Files
d985550e8b0a6dd906e1927c48c4c35ed6d00d80
networking-bgpvpn /tox.ini
Thomas Morin d985550e8b Alembic migration update/cleanup
This change updates and cleans up our alembic migration code:
- we now use an alembic migration entry point, instead of shipping
 our own db management tool
- use expand/contract alembic branches
- downgrade is not supported anymore, drop it
Change-Id: I8eb68075c720cd7252bd178c1bf08ef0947cd0d0
Closes-Bug: 1489876
2015年10月02日 15:03:29 +02:00

39 lines
920 B
INI

[tox]
minversion = 1.6
envlist = py33,py34,py26,py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
install_command = {toxinidir}/tools/tox_install.sh {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
commands =
flake8
neutron-db-manage --subproject networking-bgpvpn --database-connection sqlite:// check_migration
[testenv:venv]
commands = {posargs}
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx
[testenv:debug]
commands = oslo_debug_helper {posargs}
[flake8]
# E123, E125 skipped as they are invalid PEP-8.
show-source = True
ignore = E123,E125
builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build