Merge "Add Python 3 Train unit tests"

This commit is contained in:
Zuul 2019-08-13 17:57:15 +00:00 committed by Gerrit Code Review
commit d04fa4764c
2 changed files with 11 additions and 5 deletions

View File

@ -1,4 +1,5 @@
- project:
templates:
- python35-charm-jobs
- openstack-python3-train-jobs
- openstack-cover-jobs

15
tox.ini
View File

@ -2,7 +2,7 @@
# This file is managed centrally by release-tools and should not be modified
# within individual charm repos.
[tox]
envlist = pep8,py27,py35,py36
envlist = pep8,py27,py37
skipsdist = True
skip_missing_interpreters = True
@ -23,13 +23,18 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = /bin/true
[testenv:py36]
basepython = python3
[testenv:py35]
basepython = python3.5
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py35]
basepython = python3
[testenv:py36]
basepython = python3.6
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
[testenv:py37]
basepython = python3.7
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt