Add .gitreview file for 0.7.x branch
Also make the branch functionally pass gerrit/jenkins. Change-Id: I323ffbc48a80b46af7ecbf6ab1bce775072c2012
This commit is contained in:
parent
a74bfb7dc4
commit
80fe269595
5
.gitreview
Normal file
5
.gitreview
Normal file
@ -0,0 +1,5 @@
|
||||
[gerrit]
|
||||
host=review.openstack.org
|
||||
port=29418
|
||||
project=stackforge/cloud-init.git
|
||||
defaultbranch=0.7.x
|
@ -1,7 +1,12 @@
|
||||
httpretty>=0.7.1
|
||||
mock
|
||||
nose
|
||||
pep8==1.5.7
|
||||
pyflakes
|
||||
contextlib2
|
||||
setuptools
|
||||
|
||||
# For doc building
|
||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||
oslosphinx
|
||||
|
||||
# For style checking
|
||||
hacking<0.11,>=0.10.0
|
||||
|
52
tox.ini
52
tox.ini
@ -1,29 +1,33 @@
|
||||
[tox]
|
||||
envlist = py26,py27,py34
|
||||
recreate = True
|
||||
minversion = 1.6
|
||||
skipsdist = True
|
||||
envlist = py27,py34,docs,pep8
|
||||
|
||||
[tox:jenkins]
|
||||
downloadcache = ~/cache/pip
|
||||
|
||||
[testenv]
|
||||
commands = python -m nose {posargs:tests}
|
||||
deps =
|
||||
contextlib2
|
||||
httpretty>=0.7.1
|
||||
mock
|
||||
nose
|
||||
pep8==1.5.7
|
||||
pyflakes
|
||||
usedevelop = True
|
||||
setenv = VIRTUAL_ENV={envdir} LC_ALL=en_US.utf-8
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
commands = nosetests {posargs}
|
||||
|
||||
# https://github.com/gabrielfalcao/HTTPretty/issues/223
|
||||
setenv =
|
||||
LC_ALL = en_US.utf-8
|
||||
[testenv:pep8]
|
||||
deps = {[testenv]deps}
|
||||
commands = flake8 {posargs}
|
||||
|
||||
[testenv:py26]
|
||||
commands = nosetests {posargs:tests}
|
||||
deps =
|
||||
contextlib2
|
||||
httpretty>=0.7.1
|
||||
mock
|
||||
nose
|
||||
pep8==1.5.7
|
||||
pyflakes
|
||||
setenv =
|
||||
LC_ALL = C
|
||||
[testenv:docs]
|
||||
deps = {[testenv]deps}
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:venv]
|
||||
deps = {[testenv]deps}
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
builtins = _
|
||||
exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build
|
||||
|
||||
# TODO(harlowja): fix these up...
|
||||
ignore = E121,E123,E124,E126,E127,E128,E226,E302,E501,E502,F401,F811,F841,H101,H102,H104,H105,H201,H231,H233,H234,H236,H301,H304,H306,H401,H403,H404,H405,W291,W293
|
||||
|
Loading…
x
Reference in New Issue
Block a user