Merge "Move from py35 to py37 for gating py3 jobs"

This commit is contained in:
Zuul 2019-04-17 20:25:42 +00:00 committed by Gerrit Code Review
commit 5e6b7f32ac
2 changed files with 7 additions and 7 deletions

View File

@ -327,6 +327,7 @@
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/(functional|probe)/.*$
voting: false
- swift-tox-py36:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
@ -336,7 +337,6 @@
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/(functional|probe)/.*$
voting: false
- swift-tox-func:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
@ -408,7 +408,7 @@
# long-running jobs, like probetests or (once they move to
# in-tree definitions) dsvm jobs.
- swift-tox-py27
- swift-tox-py35
- swift-tox-py37
- swift-tox-func
- swift-tox-func-encryption
- swift-tox-func-domain-remap-staticweb

10
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = py35,py27,pep8
envlist = py37,py27,pep8
minversion = 2.3.2
skipsdist = True
@ -32,7 +32,7 @@ setenv = VIRTUAL_ENV={envdir}
# tests file by file, add them into the list below, and never go back.
# This list also serves as a shared task board for those helping with py3.
# But mind that reviews expanding this list may be outstanding in Gerrit.
[testenv:py35]
[testenv:py37]
commands =
find . ( -type f -o -type l ) -name "*.py[c|o]" -delete
find . -type d -name "__pycache__" -delete
@ -100,10 +100,10 @@ commands =
test/unit/proxy/controllers/test_obj.py}
[testenv:py36]
commands = {[testenv:py35]commands}
commands = {[testenv:py37]commands}
[testenv:py37]
commands = {[testenv:py35]commands}
[testenv:py35]
commands = {[testenv:py37]commands}
[testenv:pep8]
basepython = python2.7