1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove redundancies from tox.ini

This commit is contained in:
Marius Gedminas 2015-10-04 10:51:37 +03:00
parent 10a4a4e986
commit 3e0330ad3b

View file

@ -1,5 +1,5 @@
[tox] [tox]
envlist = {py26,py27,py34} envlist = py26,py27,py34
[testenv] [testenv]
commands = make tests commands = make tests
@ -11,17 +11,12 @@ commands =
python --version python --version
python -m compileall -fq -x 'test|samples|contrib/inventory/vagrant.py' lib test contrib python -m compileall -fq -x 'test|samples|contrib/inventory/vagrant.py' lib test contrib
make tests make tests
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals =
make
[testenv:py27] [testenv:py27]
commands = commands =
python --version python --version
python -m compileall -fq -x 'test|samples' lib test contrib python -m compileall -fq -x 'test|samples' lib test contrib
make tests make tests
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make
[testenv:py34] [testenv:py34]
commands = commands =
@ -29,5 +24,3 @@ commands =
python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test contrib python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test contrib
# Unittests need lots of work to make code python3 compatible # Unittests need lots of work to make code python3 compatible
#make tests #make tests
deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make