summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Savineau <dsavinea@redhat.com>2019-01-30 13:25:29 -0500
committerDimitri Savineau <dsavinea@redhat.com>2019-02-01 09:16:18 -0500
commitde68ca63ddabecda414ca96e5a6951394d3861fa (patch)
tree4136f9e3748177f38900145624bd1d6fdf566170
parent3f048cf55c9e11b08a7b4d69beb1e56c14323c33 (diff)
tox: Define py27 and py36 explicitly
Running tox -eALL doesn't create both testenv but only one called python. | python create: ansible-role-dci-sync-registry/.tox/python | python installdeps: ansible>=2.7,<2.8, docker, molecule | python installed: ansible==2.7.6,ansible-lint==3.4.23,... Instead of: | py27 create: ansible-role-dci-sync-registry/.tox/py27 | py27 installdeps: ansible>=2.7,<2.8, docker, molecule | py27 installed: ansible==2.7.6,ansible-lint==3.4.23, ... | py36 create: ansible-role-dci-sync-registry/.tox/py36 | py36 installdeps: ansible>=2.7,<2.8, docker, molecule | py36 installed: ansible==2.7.6,ansible-lint==3.4.23, ... Change-Id: Icae222526f76de8a92809f91a344202e7352ba10
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 1119322..c02fb74 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,5 +9,11 @@ deps =
ansible>=2.7,<2.8
docker
molecule
+
+[testenv:py27]
+commands =
+ molecule test
+
+[testenv:py36]
commands =
molecule test