tox.ini 558 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [tox]
  2. envlist =
  3. {py27,py34,pypy,pypy3}-drf{2,3}
  4. [testenv]
  5. basepython =
  6. py27: python2.7
  7. py34: python3.4
  8. pypy: pypy
  9. pypy3: pypy3
  10. setenv =
  11. PYTHONPATH = {toxinidir}
  12. commands =
  13. make install-quite
  14. pip freeze
  15. make check
  16. deps =
  17. drf2: djangorestframework<3
  18. drf3: djangorestframework>=3
  19. whitelist_externals =
  20. make
  21. [testenv:py27-drf2]
  22. deps =
  23. django<1.8
  24. [testenv:py34-drf2]
  25. deps =
  26. django<1.8
  27. [testenv:pypy-drf2]
  28. deps =
  29. django<1.8
  30. [testenv:pypy3-drf2]
  31. deps =
  32. django<1.8
  33. [flake8]
  34. max-line-length = 100