modified tox and added .gitreview

Change-Id: I056fd51e4e586c3ec97eecec97d5a1dc2e908647
This commit is contained in:
David Lenwell 2015-04-28 10:37:45 -07:00
parent 14b0f523cb
commit 813d8d6de6
2 changed files with 21 additions and 7 deletions

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/akanda-neutron.git

24
tox.ini
View File

@ -1,14 +1,27 @@
[tox]
envlist = py27,style
envlist = py27,pep8
[testenv]
distribute = False
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test_requirements.txt
commands = nosetests {posargs}
commands = nosetests --with-coverage --cover-package=akanda.neutron {posargs}
sitepackages = False
[tox:jenkins]
[testenv:style]
deps = flake8
commands = flake8 akanda test setup.py
setuptools_git>=0.4
commands = flake8 akanda setup.py
[testenv:pep8]
deps = {[testenv:style]deps}
commands = {[testenv:style]commands}
[testenv:doc]
deps = Sphinx
commands = sphinx-build doc/source doc/build
[testenv:cover]
setenv = NOSE_WITH_COVERAGE=1
@ -17,7 +30,4 @@ setenv = NOSE_WITH_COVERAGE=1
commands = {posargs}
[flake8]
ignore = E125
show-source = true
statistics = true
builtins = _
ignore = E123,E133,E226,E241,E242,E731,F821