Commit ccb24d29 by Toshio Kuratomi

Merge pull request #12098 from mgedmin/fix-tox-compileall

Don't compile .py files under .tox/
parents 6c9dc78d b44eae9e
...@@ -9,7 +9,7 @@ whitelist_externals = make ...@@ -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' . python -m compileall -fq -x 'test|samples|contrib/inventory/vagrant.py|.tox' .
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 = ...@@ -18,7 +18,7 @@ whitelist_externals =
[testenv:py27] [testenv:py27]
commands = commands =
python --version python --version
python -m compileall -fq -x 'test|samples' . python -m compileall -fq -x 'test|samples|.tox' .
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 ...@@ -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' lib python -m compileall -fq -x 'lib/ansible/module_utils|.tox' lib
make tests make tests
deps = -r{toxinidir}/test-requirements.txt deps = -r{toxinidir}/test-requirements.txt
whitelist_externals = make whitelist_externals = make
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment