py2 functional testing
Change-Id: I24ff8fb28969a0b074313bc9491b299afac3b49c
This commit is contained in:
10
.zuul.yaml
10
.zuul.yaml
@@ -24,6 +24,14 @@
|
|||||||
# Override value from parent job to use swiftclient tests
|
# Override value from parent job to use swiftclient tests
|
||||||
zuul_work_dir: "{{ zuul.projects['git.openstack.org/openstack/python-swiftclient'].src_dir }}"
|
zuul_work_dir: "{{ zuul.projects['git.openstack.org/openstack/python-swiftclient'].src_dir }}"
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: swiftclient-functional-py2
|
||||||
|
parent: swiftclient-functional
|
||||||
|
description: |
|
||||||
|
Run functional tests of python-swiftclient under Python 2
|
||||||
|
vars:
|
||||||
|
tox_envlist: py2func
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
templates:
|
templates:
|
||||||
- openstack-python-jobs
|
- openstack-python-jobs
|
||||||
@@ -38,11 +46,13 @@
|
|||||||
jobs:
|
jobs:
|
||||||
- swiftclient-swift-functional
|
- swiftclient-swift-functional
|
||||||
- swiftclient-functional
|
- swiftclient-functional
|
||||||
|
- swiftclient-functional-py2
|
||||||
- openstack-tox-lower-constraints
|
- openstack-tox-lower-constraints
|
||||||
gate:
|
gate:
|
||||||
jobs:
|
jobs:
|
||||||
- swiftclient-swift-functional
|
- swiftclient-swift-functional
|
||||||
- swiftclient-functional
|
- swiftclient-functional
|
||||||
|
- swiftclient-functional-py2
|
||||||
- openstack-tox-lower-constraints
|
- openstack-tox-lower-constraints
|
||||||
post:
|
post:
|
||||||
jobs:
|
jobs:
|
||||||
|
6
tox.ini
6
tox.ini
@@ -46,6 +46,12 @@ commands =
|
|||||||
coverage report -m
|
coverage report -m
|
||||||
rm -f .coverage
|
rm -f .coverage
|
||||||
|
|
||||||
|
[testenv:py2func]
|
||||||
|
basepython=python2
|
||||||
|
setenv = {[testenv:func]setenv}
|
||||||
|
whitelist_externals = {[testenv:func]whitelist_externals}
|
||||||
|
commands = {[testenv:func]commands}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
commands=
|
commands=
|
||||||
|
Reference in New Issue
Block a user