tox.ini 689 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. [tox]
  2. envlist = py27,py34,pre-commit
  3. [testenv]
  4. usedevelop=True
  5. passenv =
  6. LD_LIBRARY_PATH
  7. setenv =
  8. HOME=/tmp
  9. deps =
  10. -rrequirements.txt
  11. commands =
  12. nosetests -v --with-coverage --cover-branches --cover-package=compose --cover-erase --cover-html-dir=coverage-html --cover-html {posargs}
  13. flake8 compose tests setup.py
  14. [testenv:pre-commit]
  15. skip_install = True
  16. deps =
  17. pre-commit
  18. commands =
  19. pre-commit install
  20. pre-commit run --all-files
  21. [testenv:py27]
  22. deps =
  23. {[testenv]deps}
  24. -rrequirements-dev.txt
  25. [testenv:py34]
  26. deps =
  27. {[testenv]deps}
  28. flake8
  29. nose
  30. [flake8]
  31. # Allow really long lines for now
  32. max-line-length = 140
  33. exclude = compose/packages