aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini20
1 files changed, 10 insertions, 10 deletions
diff --git a/tox.ini b/tox.ini
index 6dcf9fc4..1904b6e4 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,perm,cover
+envlist = docs,pep8,pylint,yamllint,ansiblelint,bashate,py27,py37,cover
skipsdist = True
[testenv]
@@ -19,24 +19,24 @@ commands = nosetests --with-xunit \
xtesting/tests/unit
[testenv:docs]
-basepython = python2.7
+basepython = python3.7
commands =
doc8 README.rst api --ignore-path api/build
sphinx-build -W -b html api/ api/build
[testenv:pep8]
-basepython = python2.7
+basepython = python3.7
commands = flake8
[testenv:pylint]
-basepython = python2.7
+basepython = python3.7
whitelist_externals = bash
commands =
pylint --min-similarity-lines=10 \
--disable=locally-disabled --ignore-imports=y --reports=n xtesting
[testenv:yamllint]
-basepython = python2.7
+basepython = python3.7
files =
.travis.yml
ansible
@@ -45,7 +45,7 @@ commands =
yamllint -s {[testenv:yamllint]files}
[testenv:ansiblelint]
-basepython = python2.7
+basepython = python3.7
commands =
ansible-lint ansible/site.yml
@@ -53,17 +53,17 @@ commands =
commands = nosetests xtesting/tests/unit
[testenv:bashate]
-basepython = python2.7
+basepython = python3.7
files =
build.sh
commands = bashate {[testenv:bashate]files}
[testenv:bandit]
-basepython = python2.7
+basepython = python3.7
commands = bandit -r xtesting -x tests -n 5 -ll -s B602
[testenv:cover]
-basepython = python2.7
+basepython = python3.7
dirs =
xtesting/tests/unit/ci
xtesting/tests/unit/core
@@ -75,7 +75,7 @@ commands = nosetests --with-coverage --cover-tests \
--cover-min-percentage 100 {[testenv:cover]dirs}
[testenv:perm]
-basepython = python2.7
+basepython = python3.7
whitelist_externals = bash
path=. -not -path './.tox/*' -not -path './.git/*' -not -path './doc/reveal.js/*'
commands =