tox.ini 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [tox]
  2. envlist = 2.7,pypy,3.4,3.5,pypy3,flake8,flakeplus,apicheck
  3. [testenv]
  4. deps=
  5. -r{toxinidir}/requirements/default.txt
  6. -r{toxinidir}/requirements/test.txt
  7. 2.7: -r{toxinidir}/requirements/test-ci-default.txt
  8. 3.4,3.5: -r{toxinidir}/requirements/test-ci-default.txt
  9. pypy,pypy3: -r{toxinidir}/requirements/test-ci-base.txt
  10. linkcheck,apicheck: -r{toxinidir}/requirements/docs.txt
  11. flake8,flakeplus: -r{toxinidir}/requirements/pkgutils.txt
  12. sitepackages = False
  13. recreate = False
  14. commands = pip install -U -r{toxinidir}/requirements/dev.txt
  15. nosetests -xsv --with-coverage \
  16. --cover-inclusive --cover-min-percentage=94 --cover-erase []
  17. basepython =
  18. 2.7,flake8,flakeplus,linkcheck,apicheck python2.7
  19. 3.4: python3.4
  20. 3.5: python3.5
  21. pypy: pypy
  22. pypy3: pypy3
  23. [testenv:apicheck]
  24. commands =
  25. pip install -U -r{toxinidir}/requirements/dev.txt
  26. sphinx-build -W -b apicheck -d {envtmpdir}/doctrees docs docs/_build/apicheck
  27. [testenv:linkcheck]
  28. commands =
  29. pip install -U -r{toxinidir}/requirements/dev.txt
  30. sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/linkcheck
  31. [testenv:flake8]
  32. commands =
  33. flake8 {toxinidir}/celery
  34. [testenv:flakeplus]
  35. commands =
  36. flakeplus --2.7 {toxinidir}/celery