Better way to stop tox running on unwanted directories

This commit is contained in:
Toshio Kuratomi 2015-08-27 10:41:46 -07:00
parent ccb24d2919
commit 3f099ca0a2

View file

@ -9,7 +9,7 @@ whitelist_externals = make
[testenv:py26] [testenv:py26]
commands = commands =
python --version python --version
python -m compileall -fq -x 'test|samples|contrib/inventory/vagrant.py|.tox' . python -m compileall -fq -x 'test|samples|contrib/inventory/vagrant.py' lib test contrib
make tests make tests
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = whitelist_externals =
@ -18,7 +18,7 @@ whitelist_externals =
[testenv:py27] [testenv:py27]
commands = commands =
python --version python --version
python -m compileall -fq -x 'test|samples|.tox' . python -m compileall -fq -x 'test|samples' lib test contrib
make tests make tests
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make whitelist_externals = make
@ -26,7 +26,7 @@ whitelist_externals = make
[testenv:py34] [testenv:py34]
commands = commands =
python --version python --version
python -m compileall -fq -x 'lib/ansible/module_utils|.tox' lib python -m compileall -fq -x 'lib/ansible/module_utils' lib test contrib
make tests make tests
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make whitelist_externals = make