Aligned tox file with project.
Change-Id: Ib391c0d1025605fccda6405865bba5780ebb0c74
This commit is contained in:
parent
bc518af78b
commit
bdbb0a64a6
@ -3,13 +3,10 @@ eventlet
|
|||||||
kombu==1.5.1
|
kombu==1.5.1
|
||||||
routes
|
routes
|
||||||
WebOb
|
WebOb
|
||||||
mox
|
|
||||||
PasteDeploy
|
PasteDeploy
|
||||||
paste
|
paste
|
||||||
sqlalchemy-migrate
|
sqlalchemy-migrate
|
||||||
netaddr
|
netaddr
|
||||||
sphinx
|
|
||||||
webtest
|
|
||||||
factory_boy
|
factory_boy
|
||||||
httplib2
|
httplib2
|
||||||
lxml
|
lxml
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
# Packages needed for dev testing
|
# Packages needed for dev testing
|
||||||
distribute>=0.6.24
|
distribute>=0.6.28
|
||||||
|
|
||||||
coverage
|
coverage
|
||||||
|
mox
|
||||||
nose
|
nose
|
||||||
nosexcover
|
nosexcover
|
||||||
openstack.nose_plugin
|
openstack.nose_plugin
|
||||||
pep8
|
pep8=1.3.3
|
||||||
pylint
|
pylint
|
||||||
|
webtest
|
||||||
|
58
tox.ini
58
tox.ini
@ -1,32 +1,30 @@
|
|||||||
# If you get compilation errors with one or more deps in Linux, try this:
|
|
||||||
# $ sudo apt-get install python2.6-dev
|
|
||||||
|
|
||||||
# To run a specific environment in tox, use the "-e" cmd line flag.
|
|
||||||
# For example, to run pep8, use:
|
|
||||||
# tox -e pep8
|
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py26
|
envlist = py26,py27,pep8
|
||||||
|
|
||||||
[testenv:py26]
|
[testenv]
|
||||||
deps =
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
eventlet
|
NOSE_WITH_OPENSTACK=1
|
||||||
factory_boy
|
NOSE_OPENSTACK_COLOR=1
|
||||||
httplib2
|
NOSE_OPENSTACK_RED=0.05
|
||||||
iso8601
|
NOSE_OPENSTACK_YELLOW=0.025
|
||||||
kombu==1.5.1
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
||||||
lxml
|
NOSE_OPENSTACK_STDOUT=1
|
||||||
mox
|
deps = -r{toxinidir}/tools/pip-requires
|
||||||
netaddr
|
-r{toxinidir}/tools/test-requires
|
||||||
paste
|
setuptools_git>=0.4
|
||||||
PasteDeploy
|
commands = nosetests {posargs}
|
||||||
pep8==1.3.3
|
|
||||||
python-novaclient
|
[tox:jenkins]
|
||||||
routes
|
sitepackages = True
|
||||||
sphinx
|
downloadcache = ~/cache/pip
|
||||||
SQLAlchemy
|
|
||||||
sqlalchemy-migrate
|
[testenv:pep8]
|
||||||
WebOb
|
deps = pep8
|
||||||
webtest
|
setuptools_git>=0.4
|
||||||
commands =
|
commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,openstack,*egg reddwarf
|
||||||
{envbindir}/pep8 {toxinidir}/reddwarf --exclude=.tox,.venv
|
|
||||||
|
[testenv:cover]
|
||||||
|
setenv = NOSE_WITH_COVERAGE=1
|
||||||
|
|
||||||
|
[testenv:venv]
|
||||||
|
commands = {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user