|
|
@ -1,9 +1,12 @@
|
|
|
|
[tox]
|
|
|
|
[tox]
|
|
|
|
envlist = py26,py27,py35
|
|
|
|
envlist = py26,py27,py3{5,6)
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:py35]
|
|
|
|
[testenv:py35]
|
|
|
|
deps = -r{toxinidir}/test/utils/tox/requirements-py3.txt
|
|
|
|
deps = -r{toxinidir}/test/utils/tox/requirements-py3.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[testenv:py36]
|
|
|
|
|
|
|
|
deps = -r{toxinidir}/test/utils/tox/requirements-py3.txt
|
|
|
|
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
[testenv]
|
|
|
|
deps = -r{toxinidir}/test/utils/tox/requirements.txt
|
|
|
|
deps = -r{toxinidir}/test/utils/tox/requirements.txt
|
|
|
|
whitelist_externals = make
|
|
|
|
whitelist_externals = make
|
|
|
@ -11,7 +14,7 @@ commands =
|
|
|
|
python --version
|
|
|
|
python --version
|
|
|
|
py26: python -m compileall -fq -x 'test/samples|contrib/inventory/vagrant.py' lib test contrib
|
|
|
|
py26: python -m compileall -fq -x 'test/samples|contrib/inventory/vagrant.py' lib test contrib
|
|
|
|
py27: python -m compileall -fq -x 'test/samples' lib test contrib
|
|
|
|
py27: python -m compileall -fq -x 'test/samples' lib test contrib
|
|
|
|
py35: python -m compileall -fq -x 'test/samples|lib/ansible/modules' lib test contrib
|
|
|
|
py3{5,6}: python -m compileall -fq -x 'test/samples|lib/ansible/modules' lib test contrib
|
|
|
|
make tests
|
|
|
|
make tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|