Run all jobs by default using python3

This patch implements the community wide goal to run all jobs by
default using python3.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I3b6aeb7449980da9d891a4a33a9412d0bec12963
This commit is contained in:
openstack 2019-02-19 08:36:48 +00:00
parent 2171a824bb
commit 4447d0e2ed
2 changed files with 11 additions and 2 deletions

View File

@ -2,7 +2,10 @@
templates:
- check-requirements
- openstack-python-jobs
- openstack-python35-jobs-nonvoting
- openstack-python35-jobs
- openstack-python36-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
jobs:
- openstack-tox-lower-constraints

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = py35,py27,pypy,pep8
envlist = pep8,py27,py35,py36
skipsdist = True
[testenv]
@ -35,6 +35,12 @@ commands =
{[testenv]commands}
ostestr '{posargs}'
[testenv:py36]
basepython = python3.6
commands =
{[testenv]commands}
ostestr '{posargs}'
[testenv:genconfig]
basepython = python3
commands = oslo-config-generator --config-file=etc/masakarimonitors/masakarimonitors-config-generator.conf