|
|
@ -1,5 +1,5 @@
|
|
|
|
[tox]
|
|
|
|
[tox]
|
|
|
|
envlist = {py26,py27}
|
|
|
|
envlist = {py26,py27,py34}
|
|
|
|
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
[testenv]
|
|
|
|
commands = make tests
|
|
|
|
commands = make tests
|
|
|
@ -26,7 +26,10 @@ whitelist_externals = make
|
|
|
|
[testenv:py34]
|
|
|
|
[testenv:py34]
|
|
|
|
commands =
|
|
|
|
commands =
|
|
|
|
python --version
|
|
|
|
python --version
|
|
|
|
|
|
|
|
# scripts in contrib still need to be ported to python3-compatible syntax
|
|
|
|
|
|
|
|
#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
|
|
|
|
python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test
|
|
|
|
make tests
|
|
|
|
# Unittests need lots of work to make code python3 compatible
|
|
|
|
|
|
|
|
#make tests
|
|
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
whitelist_externals = make
|
|
|
|
whitelist_externals = make
|
|
|
|