tox.ini 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [tox]
  2. skipsdist = True
  3. usedevelop = True
  4. envlist = py{27,33,34,35}-dj{18,19}-{sqlite,postgres,mysql}-{elasticsearch,noelasticsearch}, flake8
  5. [flake8]
  6. ignore = E501,E303
  7. exclude = wagtail/project_template/*
  8. max-line-length = 120
  9. [testenv]
  10. commands =
  11. elasticsearch: coverage run runtests.py wagtail.wagtailsearch --elasticsearch
  12. noelasticsearch: coverage run runtests.py
  13. basepython =
  14. py27: python2.7
  15. py33: python3.3
  16. py34: python3.4
  17. py35: python3.5
  18. deps =
  19. django-modelcluster>=1.1b1
  20. django-taggit>=0.17.5
  21. django-treebeard>=3.0,<5.0
  22. django-sendfile==0.3.6
  23. djangorestframework==3.1.3
  24. Pillow>=2.3.0
  25. beautifulsoup4>=4.3.2
  26. html5lib==0.999999
  27. Unidecode>=0.04.14
  28. elasticsearch==1.1.0
  29. mock==1.0.1
  30. python-dateutil==2.2
  31. pytz==2014.7
  32. Embedly
  33. Willow>=0.3b4,<0.4
  34. jinja2==2.8
  35. coverage
  36. dj18: Django>=1.8.1,<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