Migrate to pbr
OpenStack uses pbr for setuptools/build and version releases. As barbican looks towards incubation, migrate to being pbr based. Change-Id: I3c7a389596ca579a5613ea98b21cdc6967e49cc7
This commit is contained in:
committed by
Paul Kehrer
parent
faffd3512d
commit
8f1c652862
17
tox.ini
17
tox.ini
@@ -5,16 +5,11 @@ envlist = pep8,pyflakes,py27
|
||||
setenv =
|
||||
VIRTUAL_ENV={envdir}
|
||||
PYTHONPATH = {toxinidir}/etc/barbican
|
||||
deps = -r{toxinidir}/tools/pip-requires
|
||||
-r{toxinidir}/tools/test-requires
|
||||
|
||||
[testenv:pyflakes]
|
||||
deps = pyflakes
|
||||
commands = pyflakes barbican setup.py
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:pep8]
|
||||
deps = pep8
|
||||
commands = pep8 barbican --ignore=E711 --count --repeat --show-source --exclude=.tox setup.py
|
||||
commands = flake8
|
||||
|
||||
[testenv:py27]
|
||||
commands = nosetests {posargs:--with-xcoverage --all-modules --cover-inclusive --traverse-namespace --with-xunit --cover-package=barbican}
|
||||
@@ -22,8 +17,8 @@ commands = nosetests {posargs:--with-xcoverage --all-modules --cover-inclusive -
|
||||
[testenv:coverage]
|
||||
commands = coverage html {posargs:--include="*barbican*"}
|
||||
|
||||
[testenv:hacking]
|
||||
commands = {toxinidir}/tools/hacking.sh
|
||||
|
||||
[flake8]
|
||||
# E711 ignored because of sqlalchemy override of == None
|
||||
# H ignored because it's not H clean
|
||||
ignore = E711,H
|
||||
exclude = .git,.idea,.tox,bin,dist,debian,rpmbuild,tools,*.egg-info,*openstack/common
|
||||
|
||||
Reference in New Issue
Block a user