py2 functional testing

Change-Id: I24ff8fb28969a0b074313bc9491b299afac3b49c
This commit is contained in:
John Dickinson 2018-09-26 18:29:18 -07:00
parent 2fca5dc390
commit a6baf00e24
2 changed files with 16 additions and 0 deletions

View File

@ -24,6 +24,14 @@
# Override value from parent job to use swiftclient tests
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:
templates:
- openstack-python-jobs
@ -38,11 +46,13 @@
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- swiftclient-functional-py2
- openstack-tox-lower-constraints
gate:
jobs:
- swiftclient-swift-functional
- swiftclient-functional
- swiftclient-functional-py2
- openstack-tox-lower-constraints
post:
jobs:

View File

@ -46,6 +46,12 @@ commands =
coverage report -m
rm -f .coverage
[testenv:py2func]
basepython=python2
setenv = {[testenv:func]setenv}
whitelist_externals = {[testenv:func]whitelist_externals}
commands = {[testenv:func]commands}
[testenv:docs]
basepython = python3
commands=