mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
32 lines
851 B
INI
32 lines
851 B
INI
[tox]
|
|
envlist = py27,py34,py35,py36,pylint-salt,pylint-tests
|
|
skip_missing_interpreters = True
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/requirements/tests.txt
|
|
commands = pytest --rootdir {toxinidir} {posargs}
|
|
passenv = LANG HOME
|
|
sitepackages = True
|
|
|
|
[testenv:pylint-salt]
|
|
basepython = python2.7
|
|
deps = -r{toxinidir}/requirements/dev.txt
|
|
commands =
|
|
pylint --version
|
|
pylint --rcfile=.testing.pylintrc --disable=W1307,str-format-in-logging setup.py salt/
|
|
sitepackages = False
|
|
|
|
[testenv:pylint-tests]
|
|
basepython = python2.7
|
|
deps = -r{toxinidir}/requirements/dev.txt
|
|
commands =
|
|
pylint --version
|
|
pylint --rcfile=.testing.pylintrc --disable=W1307,str-format-in-logging setup.py salt/
|
|
sitepackages = False
|
|
|
|
[pytest]
|
|
addopts = --log-file /tmp/salt-runtests.log --no-print-logs --ssh-tests -ra -sv
|
|
testpaths = tests
|
|
norecursedirs = tests/kitchen
|