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]
|
||||
envlist = {py26,py27}-v{1}
|
||||
envlist = {py26,py27}
|
||||
|
||||
[testenv]
|
||||
commands = make tests
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = make
|
||||
|
||||
[testenv:py26-v1]
|
||||
|
||||
[testenv:py27-v1]
|
||||
|
||||
[testenv:py26-v2]
|
||||
deps = -r{toxinidir}/v2/test-requirements.txt
|
||||
commands = make newtests
|
||||
[testenv:py26]
|
||||
commands =
|
||||
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
|
||||
make tests
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals =
|
||||
make
|
||||
python2.4
|
||||
|
||||
[testenv:py27-v2]
|
||||
deps = -r{toxinidir}/v2/test-requirements.txt
|
||||
commands = make newtests
|
||||
[testenv:py27]
|
||||
commands =
|
||||
python -m compileall -fq -x 'test|samples' .
|
||||
make tests
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = make
|
||||
|
||||
[testenv:py34-v2]
|
||||
deps = -r{toxinidir}/v2/test-requirements.txt
|
||||
commands = make newtests
|
||||
[testenv:py34]
|
||||
commands =
|
||||
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