mirror of https://github.com/ansible/ansible.git
Testing additions and fixes
* Fix import pathing for units.mock * Add some additional requirements * Use compileall to test compatiblity with different python versionspull/10963/head
parent
0f1eb3cfc2
commit
a0fc8bb0bd
@ -1,23 +1,31 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = {py26,py27}-v{1}
|
envlist = {py26,py27}
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands = make tests
|
commands = make tests
|
||||||
deps = -r{toxinidir}/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
whitelist_externals = make
|
whitelist_externals = make
|
||||||
|
|
||||||
[testenv:py26-v1]
|
[testenv:py26]
|
||||||
|
commands =
|
||||||
[testenv:py27-v1]
|
python -m compileall -fq -x 'test|samples' .
|
||||||
|
python2.4 -m compileall -fq -x 'module_utils/(a10|rax|openstack|ec2|gce).py' lib/ansible/module_utils
|
||||||
[testenv:py26-v2]
|
make tests
|
||||||
deps = -r{toxinidir}/v2/test-requirements.txt
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
commands = make newtests
|
whitelist_externals =
|
||||||
|
make
|
||||||
|
python2.4
|
||||||
|
|
||||||
[testenv:py27-v2]
|
[testenv:py27]
|
||||||
deps = -r{toxinidir}/v2/test-requirements.txt
|
commands =
|
||||||
commands = make newtests
|
python -m compileall -fq -x 'test|samples' .
|
||||||
|
make tests
|
||||||
|
deps = -r{toxinidir}/test-requirements.txt
|
||||||
|
whitelist_externals = make
|
||||||
|
|
||||||
[testenv:py34-v2]
|
[testenv:py34]
|
||||||
deps = -r{toxinidir}/v2/test-requirements.txt
|
commands =
|
||||||
commands = make newtests
|
python -m compileall -fq -x 'lib/ansible/module_utils' lib
|
||||||
|
make tests
|
||||||
|
deps = -r-r{toxinidir}/test-requirements.txt
|
||||||
|
whitelist_externals = make
|
||||||
|
|||||||
Loading…
Reference in New Issue