2
0

tox.ini 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [tox]
  2. skipsdist = True
  3. usedevelop = True
  4. envlist = py{27,33,34,35}-dj{17,18,19}-{sqlite,postgres,mysql}, flake8
  5. [flake8]
  6. ignore = E501,E303
  7. exclude = wagtail/project_template/*
  8. max-line-length = 120
  9. [testenv]
  10. commands=coverage run runtests.py --elasticsearch
  11. basepython =
  12. py27: python2.7
  13. py33: python3.3
  14. py34: python3.4
  15. py35: python3.5
  16. deps =
  17. django-compressor>=1.4
  18. django-modelcluster>=1.1b1
  19. django-taggit>=0.17.5
  20. django-treebeard==3.0
  21. django-sendfile==0.3.6
  22. djangorestframework==3.1.3
  23. Pillow>=2.3.0
  24. beautifulsoup4>=4.3.2
  25. html5lib>=0.999,<1
  26. Unidecode>=0.04.14
  27. elasticsearch==1.1.0
  28. mock==1.0.1
  29. python-dateutil==2.2
  30. pytz==2014.7
  31. Embedly
  32. Willow==0.2
  33. jinja2==2.8
  34. coverage
  35. dj17: Django>=1.7.1,<1.8
  36. dj18: Django>=1.8,<1.9
  37. dj19: Django>=1.9,<1.10
  38. postgres: psycopg2>=2.6
  39. mysql: mysqlclient==1.3.6
  40. setenv =
  41. postgres: DATABASE_ENGINE=django.db.backends.postgresql_psycopg2
  42. mysql: DATABASE_ENGINE=django.db.backends.mysql
  43. mysql: DATABASE_USER=wagtail
  44. mysql: DATABASE_HOST=localhost
  45. mysql: DATABASE_USER=root
  46. [testenv:flake8]
  47. basepython=python3.4
  48. deps=flake8>=2.2.0
  49. commands=flake8 wagtail