tox.ini 674 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. deps =
  11. -rrequirements.txt
  12. -rtest-requirements.txt
  13. py35-flake8: flake8-bugbear
  14. commands =
  15. unit: pip install -e utils
  16. unit: pytest {posargs}
  17. flake8: flake8 {posargs}
  18. pylint: python setup.py lint
  19. yamllint: python setup.py yamllint
  20. generate_validation: python setup.py generate_validation
  21. # TODO(rhcarvalho): check syntax of other important entrypoint playbooks
  22. ansible_syntax: ansible-playbook --syntax-check playbooks/byo/config.yml