Merge pull request #12098 from mgedmin/fix-tox-compileall
Don't compile .py files under .tox/
This commit is contained in:
commit
ccb24d2919
1 changed files with 3 additions and 3 deletions
6
tox.ini
6
tox.ini
|
@ -9,7 +9,7 @@ whitelist_externals = make
|
|||
[testenv:py26]
|
||||
commands =
|
||||
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
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals =
|
||||
|
@ -18,7 +18,7 @@ whitelist_externals =
|
|||
[testenv:py27]
|
||||
commands =
|
||||
python --version
|
||||
python -m compileall -fq -x 'test|samples' .
|
||||
python -m compileall -fq -x 'test|samples|.tox' .
|
||||
make tests
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = make
|
||||
|
@ -26,7 +26,7 @@ whitelist_externals = make
|
|||
[testenv:py34]
|
||||
commands =
|
||||
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
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
whitelist_externals = make
|
||||
|
|
Loading…
Reference in a new issue