salt/tox.ini

36 lines
944 B
INI
Raw Normal View History

2017-10-03 22:13:54 +00:00
[tox]
envlist =
py{27,34,35,36},
py{27,34,35,36}-coverage,
py{27,34,35,36}-pytest,
py{27,34,35,36}-runtests,
py{27,34,35,36}-pytest-coverage,
py{27,34,35,36}-runtests-coverage,
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-06-06 17:23:55 +00:00
passenv = LANG HOME
2018-07-06 17:44:47 +00:00
sitepackages = True
commands =
python -c 'import sys; sys.stderr.write("\n\nPlease use nox instead.\n\n"); sys.exit(1)'
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