summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangBo Guo(gcb) <eric.guo@easystack.cn>2016-07-12 16:35:36 +0800
committerChangBo Guo(gcb) <eric.guo@easystack.cn>2016-07-12 16:35:36 +0800
commit8e778658e527b760cfd6b95063b16b356d3bac07 (patch)
tree5b1a5680bad4b8b73acf8b39b09730a41b89fc67
parentc6c70aba2dfb00d50c9415db8cb01794d0ad62c7 (diff)
downloadoslo-messaging-8e778658e527b760cfd6b95063b16b356d3bac07.tar.gz
Add Python 3.5 classifier and venv
Now that there is a passing gate job, we can claim support for Python 3.5 in the classifier. This patch also adds the convenience py35 venv. Change-Id: I8871f4e17ab806c00661d0c960a216d0a3fc5449
-rw-r--r--setup.cfg1
-rw-r--r--tox.ini13
2 files changed, 13 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index aa6f2d5..c5c83b4 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -17,6 +17,7 @@ classifier =
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.4
+ Programming Language :: Python :: 3.5
[files]
packages =
diff --git a/tox.ini b/tox.ini
index 03f99e2..b142c89 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = py34,py27,pep8,bandit
+envlist = py35,py34,py27,pep8,bandit
[testenv]
setenv =
@@ -33,6 +33,11 @@ setenv = TRANSPORT_DRIVER=rabbit
basepython = python3.4
commands = pifpaf run rabbitmq -- python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
+[testenv:py35-func-rabbit]
+setenv = TRANSPORT_DRIVER=rabbit
+basepython = python3.5
+commands = pifpaf run rabbitmq -- python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
+
[testenv:py27-func-pika]
setenv = TRANSPORT_DRIVER=pika
commands = pifpaf run rabbitmq -- python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
@@ -48,6 +53,12 @@ setenv = TRANSPORT_URL=amqp://stackqpid:secretqpid@127.0.0.1:65123//
# NOTE(kgiusti): This gate job runs on Centos 7 for now.
commands = {toxinidir}/setup-test-env-qpid.sh 1.0 python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
+[testenv:py35-func-amqp1]
+basepython = python3.5
+setenv = TRANSPORT_URL=amqp://stackqpid:secretqpid@127.0.0.1:65123//
+# NOTE(kgiusti): This gate job runs on Centos 7 for now.
+commands = {toxinidir}/setup-test-env-qpid.sh 1.0 python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'
+
[testenv:py27-func-zeromq]
commands = {toxinidir}/setup-test-env-zmq.sh python setup.py testr --slowest --testr-args='{posargs:oslo_messaging.tests.functional}'