From 642742e80bbf2427657521f7cd3c299efa6e0782 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 20 Sep 2019 04:19:37 +0200 Subject: Switch to py3.6 in containers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Functest Kubernetes has supported both py2 and py3. py3 is now selected due to the OPNFV Iruya planning closed to python2 EOL. Change-Id: I62a142b658e6d478021038a36138ce00ea4bced8 Signed-off-by: Cédric Ollivier --- tox.ini | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 936fd978..c9f1ff93 100644 --- a/tox.ini +++ b/tox.ini @@ -18,15 +18,15 @@ commands = nosetests --with-xunit \ functest_kubernetes [testenv:pep8] -basepython = python2.7 +basepython = python3.6 commands = flake8 [testenv:pylint] -basepython = python2.7 +basepython = python3.6 commands = pylint --disable=locally-disabled --reports=n functest_kubernetes [testenv:yamllint] -basepython = python2.7 +basepython = python3.6 files = .travis.yml docker @@ -34,24 +34,24 @@ commands = yamllint {[testenv:yamllint]files} [testenv:ansiblelint] -basepython = python2.7 +basepython = python3.6 commands = ansible-lint ansible/site.yml [testenv:bandit] -basepython = python2.7 +basepython = python3.6 commands = bandit -r functest_kubernetes -x tests -n 5 -ll [testenv:py36] commands = nosetests functest_kubernetes [testenv:bashate] -basepython = python2.7 +basepython = python3.6 files = build.sh commands = bashate -e E005,E006,E042,E043 {[testenv:bashate]files} [testenv:perm] -basepython = python2.7 +basepython = python3.6 whitelist_externals = bash path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/pres/reveal.js/*' commands = -- cgit 1.2.3-korg