[tox]
envlist =
    py{36,37,38}-dj{22,30}-celery{40,41,42,43},py35-dj22,
    flake8
skip_missing_interpreters = true

[testenv]
commands = ./runtests.py
deps =
    dj22: Django>=2.2,<2.3
    dj30: Django>=3.0,<3.1
    celery40: celery>=4.0,<4.1
    celery41: celery>=4.1,<4.2
    celery42: celery>=4.2,<4.3
    celery43: celery>=4.3,<4.4

[testenv:flake8]
deps = flake8
commands = flake8 djcelery_email tests

[flake8]
max-line-length = 120

[tox]
envlist =
    py{36,37,38}-dj{22,30,31}-celery{40,41,42,43,44,50,51},py35-dj22,
    flake8
skip_missing_interpreters = true

[testenv]
commands = ./runtests.py
deps =
    dj22: Django>=2.2,<2.3
    dj30: Django>=3.0,<3.1
    dj31: Django>=3.1,<3.2
    celery40: celery>=4.0,<4.1
    celery41: celery>=4.1,<4.2
    celery42: celery>=4.2,<4.3
    celery43: celery>=4.3,<4.4
    celery44: celery>=4.4,<4.5
    celery50: celery>=5.0,<5.0.6
    celery51: celery>=5.1,<5.2

[testenv:flake8]
deps = flake8
commands = flake8 djcelery_email tests

[flake8]
max-line-length = 120

Add tests for Celery 5 and django 3.1
chore: Add tests for Celery 5 and django 3.1
