2015-03-10 19:38:37 -04:00
|
|
|
[tox]
|
2015-10-04 10:58:44 +03:00
|
|
|
envlist = py26,py27,py34,py35
|
2015-03-10 19:38:37 -04:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
|
|
whitelist_externals = make
|
2015-05-08 11:34:19 -05:00
|
|
|
commands =
|
2015-07-31 22:50:05 -07:00
|
|
|
python --version
|
2015-10-04 10:57:49 +03:00
|
|
|
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
|
2015-10-19 11:03:46 -07:00
|
|
|
py34: python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test contrib
|
|
|
|
py35: python -m compileall -fq -x 'lib/ansible/module_utils|lib/ansible/modules' lib test contrib
|
2015-10-19 09:43:27 +03:00
|
|
|
make tests
|