salt/tox.ini

32 lines
916 B
INI
Raw Normal View History

2017-10-03 22:13:54 +00:00
[tox]
envlist = py27,py34,py35,py36,pylint-salt,pylint-tests
2018-07-06 17:44:47 +00:00
skip_missing_interpreters = True
skipsdist = True
2017-10-03 22:13:54 +00:00
[testenv]
2018-07-10 20:42:50 +00:00
deps = -Ur{toxinidir}/requirements/tests.txt
2018-06-07 17:48:07 +00:00
commands = pytest --rootdir {toxinidir} {posargs}
2018-06-06 17:23:55 +00:00
passenv = LANG HOME
2018-07-06 17:44:47 +00:00
sitepackages = True
2018-06-07 17:48:07 +00:00
[testenv:pylint-salt]
basepython = python2.7
deps = -r{toxinidir}/requirements/dev.txt
commands =
pylint --version
2018-07-18 16:09:20 +00:00
pylint --rcfile=.testing.pylintrc --disable=I,W1307,C0411,C0413,W8410,str-format-in-logging {posargs:setup.py salt/}
sitepackages = False
[testenv:pylint-tests]
basepython = python2.7
deps = -r{toxinidir}/requirements/dev.txt
commands =
pylint --version
2018-07-18 16:09:20 +00:00
pylint --rcfile=.testing.pylintrc --disable=I,W0232,E1002,W1307,C0411,C0413,W8410,str-format-in-logging {posargs:tests/}
sitepackages = False
2018-06-07 17:48:07 +00:00
[pytest]
addopts = --log-file /tmp/salt-runtests.log --no-print-logs --ssh-tests -ra -sv
testpaths = tests
norecursedirs = tests/kitchen