tox.ini 633 B

123456789101112131415161718192021222324
  1. [tox]
  2. minversion=2.3.1
  3. envlist =
  4. py{27,35}-{flake8,pylint,unit}
  5. py27-{yamllint,ansible_syntax,generate_validation}
  6. skipsdist=True
  7. skip_missing_interpreters=True
  8. [testenv]
  9. skip_install=True
  10. setenv = TOX_ANSIBLE_INV_PATH = {toxinidir}/test/tox-inventory.txt
  11. deps =
  12. -rrequirements.txt
  13. -rtest-requirements.txt
  14. unit: -eutils
  15. py35-flake8: flake8-bugbear==17.3.0
  16. commands =
  17. unit: pytest {posargs}
  18. flake8: flake8 {posargs}
  19. pylint: python setup.py lint
  20. yamllint: python setup.py yamllint
  21. generate_validation: python setup.py generate_validation
  22. ansible_syntax: python setup.py ansible_syntax