summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <toshio@fedoraproject.org>2015-07-31 21:00:42 -0700
committerToshio Kuratomi <toshio@fedoraproject.org>2015-07-31 21:00:42 -0700
commit2f9f186990535f1e87c2f3122638dd6bd8192192 (patch)
tree10044fcc7bb798e90dca5bb80c39c87ba85157e7
parent53ae326603f7b9281a9d135b813007a148820910 (diff)
downloadansible-tox-py24.tar.gz
SPlit py24 testing into its own tox sectiontox-py24
-rw-r--r--tox.ini11
1 files changed, 8 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index dd94e045ab..83c3bee8da 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,20 +1,25 @@
[tox]
-envlist = {py26,py27}
+envlist = {py24,py26,py27}
[testenv]
commands = make tests
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make
+[testenv:py24]
+commands =
+ python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils
+deps = -r{toxinidir}/test-requirements.txt
+whitelist_externals =
+ python2.4
+
[testenv:py26]
commands =
python -m compileall -fq -x 'test|samples|contrib/inventory/vagrant.py' .
- python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils
make tests
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals =
make
- python2.4
[testenv:py27]
commands =