tox.ini 1.0 KB

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