tox.ini 1.1 KB

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