1
0

tox.ini 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [tox]
  2. envlist =
  3. py{27,34,35,36},
  4. py{27,34,35,36}-coverage,
  5. py{27,34,35,36}-pytest,
  6. py{27,34,35,36}-runtests,
  7. py{27,34,35,36}-pytest-coverage,
  8. py{27,34,35,36}-runtests-coverage,
  9. pylint-salt,
  10. pylint-tests
  11. skip_missing_interpreters = True
  12. skipsdist = True
  13. [testenv]
  14. passenv = LANG HOME
  15. sitepackages = True
  16. commands =
  17. python -c 'import sys; sys.stderr.write("\n\nPlease use nox instead.\n\n"); sys.exit(1)'
  18. [testenv:pylint-salt]
  19. basepython = python2.7
  20. deps = -r{toxinidir}/requirements/dev.txt
  21. commands =
  22. pylint --version
  23. pylint --rcfile=.testing.pylintrc --disable=I,W1307,C0411,C0413,W8410,str-format-in-logging {posargs:setup.py salt/}
  24. sitepackages = False
  25. [testenv:pylint-tests]
  26. basepython = python2.7
  27. deps = -r{toxinidir}/requirements/dev.txt
  28. commands =
  29. pylint --version
  30. pylint --rcfile=.testing.pylintrc --disable=I,W0232,E1002,W1307,C0411,C0413,W8410,str-format-in-logging {posargs:tests/}
  31. sitepackages = False
  32. [testenv:docs]
  33. basepython = python2.7
  34. whitelist_externals =
  35. make
  36. deps =
  37. sphinx
  38. -e {toxinidir}
  39. commands =
  40. sphinx-build --version
  41. make SPHINXOPTS="-W" -C doc clean html
  42. sitepackages = False