tox.ini 691 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. [tox]
  2. envlist = py27,py34,pre-commit
  3. [testenv]
  4. usedevelop=True
  5. passenv =
  6. LD_LIBRARY_PATH
  7. DOCKER_HOST
  8. setenv =
  9. HOME=/tmp
  10. deps =
  11. -rrequirements-dev.txt
  12. commands =
  13. py.test -v \
  14. --cov=compose \
  15. --cov-report html \
  16. --cov-report term \
  17. --cov-config=tox.ini \
  18. {posargs:tests}
  19. [testenv:pre-commit]
  20. skip_install = True
  21. deps =
  22. pre-commit
  23. commands =
  24. pre-commit install
  25. pre-commit run --all-files
  26. # Coverage configuration
  27. [run]
  28. branch = True
  29. [report]
  30. show_missing = true
  31. [html]
  32. directory = coverage-html
  33. # end coverage configuration
  34. [flake8]
  35. # Allow really long lines for now
  36. max-line-length = 140
  37. exclude = compose/packages