aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-09-20 04:19:37 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-09-20 05:20:31 +0200
commit642742e80bbf2427657521f7cd3c299efa6e0782 (patch)
tree5a3a5de37759b52f2dab11f5ed5d9b9da64496ec /tox.ini
parenta9faa59024b8fa8ae48baae109a0f4478a70297b (diff)
Switch to py3.6 in containers
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 <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 7 insertions, 7 deletions
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 =