gfxlcd/tox.ini
Bartosz Kościów 8a3726eb51 libs for test
2017-07-09 12:27:47 +02:00

24 lines
538 B
INI

[tox]
envlist = py35
skipsdist = True
[testenv]
setenv = VIRTUAL_ENV={envdir}
deps=
nose
mock
future
flake8
pylint
charlcd
spidev
GPIO
whitelist_externals = /bin/bash
commands= nosetests --with-xunit --xunit-file=junit-{envname}.xml gfxlcd/tests
rm flake8-{envname}.log -f
/bin/bash -c "flake8 --output-file=flake8-{envname}.log gfxlcd || :"
/bin/bash -c "pylint gfxlcd > pylint-{envname}.log || :"
[flake8]
show-source = True
exclude = .git,.venv,.tox,dist,doc,build,*egg,*/tests/*,*/demos/*