tox.ini 702 B

1234567891011121314151617181920212223242526
  1. [tox]
  2. minversion=2.3.1
  3. envlist =
  4. py{27,35}-{flake8,pylint,unit}
  5. py27-{yamllint,ansible_syntax,generate_validation}
  6. integration
  7. skipsdist=True
  8. skip_missing_interpreters=True
  9. [testenv]
  10. skip_install=True
  11. deps =
  12. -rrequirements.txt
  13. -rtest-requirements.txt
  14. py35-flake8: flake8-bugbear==17.3.0
  15. integration: docker-py==1.10.6
  16. commands =
  17. unit: pip install -e utils
  18. unit: pytest {posargs}
  19. flake8: flake8 {posargs}
  20. pylint: python setup.py lint
  21. yamllint: python setup.py yamllint
  22. generate_validation: python setup.py generate_validation
  23. ansible_syntax: python setup.py ansible_syntax
  24. integration: python -c 'print("run test/integration/run-tests.sh")'