
* Removed py36 env from 'tox.ini'. * Updated requirements.txt with relevant 'stable/rocky' branch libraries. * Updated test-requirements.txt with relevant 'stable/rocky' branch libraries. * Replaced 'mox' with 'mock' on unit tests. * Use stestr directly instead of ostestr to run UTs, as is done in newer upstream branches. * Specify basepython as python2.7 for pep8, cover jobs, in case a python3 version of tox is used. * Added 'flake8-import-order' and kept import-order-style as 'pep8'. * Added zuul jobs w.r.t. 'stable/rocky' release. * Removed '-U' option from toxenv install command, for stable/rocky & above branches compatibility. Change-Id: I9161749fb2d8618b695815c095bdedae0251bb76
40 lines
1.4 KiB
YAML
40 lines
1.4 KiB
YAML
- project:
|
|
name: x/python-group-based-policy-client
|
|
templates:
|
|
- openstack-python-jobs
|
|
- publish-to-pypi
|
|
# REVISIT: In the jobs below, the required-projects clause is needed on
|
|
# the master branch to select the correct version of the requirements
|
|
# repository. Otherwise, the master version will be used. It can be
|
|
# eliminated on the stable branches, and on the master branch once this
|
|
# repository's master branch is based on the neutron repository's master
|
|
# branch.
|
|
check:
|
|
jobs:
|
|
- openstack-tox-pep8:
|
|
required-projects:
|
|
- name: openstack/requirements
|
|
override-checkout: stable/rocky
|
|
- openstack-tox-py27:
|
|
required-projects:
|
|
- name: openstack/requirements
|
|
override-checkout: stable/rocky
|
|
- openstack-tox-py35:
|
|
required-projects:
|
|
- name: openstack/requirements
|
|
override-checkout: stable/rocky
|
|
gate:
|
|
jobs:
|
|
- openstack-tox-pep8:
|
|
required-projects:
|
|
- name: openstack/requirements
|
|
override-checkout: stable/rocky
|
|
- openstack-tox-py27:
|
|
required-projects:
|
|
- name: openstack/requirements
|
|
override-checkout: stable/rocky
|
|
- openstack-tox-py35:
|
|
required-projects:
|
|
- name: openstack/requirements
|
|
override-checkout: stable/rocky
|