Add support for verification process

Add required configuration files and generally update the interface
after move to OpenStack git/gerrit.

Change-Id: Id8717e9764187e2f16e9a2a3b6007779b7fb6468
This commit is contained in:
James Page 2016-07-07 15:32:18 +01:00
parent 74e74c23cb
commit 1e91681243
5 changed files with 23 additions and 4 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.tox
.testrepository

4
.gitreview Normal file
View File

@ -0,0 +1,4 @@
[gerrit]
host=review.openstack.org
port=29418
project=openstack/charm-interface-keystone

View File

@ -1,3 +1,3 @@
name: keystone
summary: Interface for integrating with Keystone identity service
maintainer: OpenStack Charmers <openstack-charmers@lists.ubuntu.com>
maintainer: OpenStack Charmers <openstack-dev@lists.openstack.org>

View File

@ -1,3 +1,2 @@
flake8>=2.2.4,<=2.4.1
os-testr>=0.4.1
charm-tools

19
tox.ini
View File

@ -1,6 +1,7 @@
[tox]
envlist = lint,py27
envlist = pep8,py27,py34,py35
skipsdist = True
skip_missing_interpreters = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
@ -12,8 +13,22 @@ commands = ostestr {posargs}
[testenv:py27]
basepython = python2.7
deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:lint]
[testenv:py34]
basepython = python3.4
deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:py35]
basepython = python3.5
deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
[testenv:pep8]
basepython = python2.7
deps = -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs}