Repository general files update
Updated gitignore to skip additional files. Updated configuration. Pinned WSME version to 0.6.1 as 0.6.2 is causing troubles with python 3.3 and later. Updated tox configuration to integrate coverage and configuration updating entries. Change-Id: Ibf474cf978758e8d5e299e523fbc26687a6e4aa7
This commit is contained in:
parent
3a939cb962
commit
1ee1a0ac0f
|
@ -34,6 +34,7 @@ htmlcov/
|
|||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
cover
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
|
@ -47,3 +48,6 @@ docs/_build/
|
|||
|
||||
# Rope
|
||||
.ropeproject/
|
||||
|
||||
# Others
|
||||
*.sqlite
|
||||
|
|
|
@ -422,8 +422,9 @@
|
|||
# Deprecated group/name - [DATABASE]/sql_max_pool_size
|
||||
#max_pool_size=<None>
|
||||
|
||||
# Maximum db connection retries during startup. Set to -1 to
|
||||
# specify an infinite retry count. (integer value)
|
||||
# Maximum number of database connection retries during
|
||||
# startup. Set to -1 to specify an infinite retry count.
|
||||
# (integer value)
|
||||
# Deprecated group/name - [DEFAULT]/sql_max_retries
|
||||
# Deprecated group/name - [DATABASE]/sql_max_retries
|
||||
#max_retries=10
|
||||
|
|
|
@ -6,7 +6,7 @@ iso8601
|
|||
PasteDeploy==1.5.2
|
||||
posix_ipc
|
||||
pecan==0.5.0
|
||||
wsme
|
||||
WSME>=0.6,!=0.6.2
|
||||
oslo.config>=1.2.0
|
||||
oslo.messaging
|
||||
oslo.db
|
||||
|
|
17
tox.ini
17
tox.ini
|
@ -21,6 +21,23 @@ commands =
|
|||
flake8 {posargs} cloudkitty
|
||||
{toxinidir}/tools/config/check_uptodate.sh
|
||||
|
||||
[testenv:cover]
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
commands =
|
||||
python setup.py testr --coverage {posargs}
|
||||
|
||||
[testenv:checkconfig]
|
||||
sitepackages = False
|
||||
envdir = {toxworkdir}/venv
|
||||
commands =
|
||||
{toxinidir}/tools/config/check_uptodate.sh
|
||||
|
||||
[testenv:genconfig]
|
||||
sitepackages = False
|
||||
envdir = {toxworkdir}/venv
|
||||
commands =
|
||||
bash tools/config/generate_sample.sh -b . -p cloudkitty -o etc/cloudkitty
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
|
|
Loading…
Reference in New Issue