diff --git a/requirements-test.txt b/requirements-test.txt index 574eff6..f58bcc4 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,6 +1,7 @@ -r requirements.txt pytest +coverage<5 pytest-django pytest-cov pytest-flake8 diff --git a/requirements.txt b/requirements.txt index eb4c69b..b87678b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ six>=1.9.0 -click>5.0,<7.1 +click>=7.1,<7.2 diff --git a/tox.ini b/tox.ini index 03850cd..481fe68 100644 --- a/tox.ini +++ b/tox.ini @@ -4,12 +4,7 @@ # By moving it out of the way (~500MB), we trim test execution time by > 80%. toxworkdir = {homedir}/.toxenvs/django-click envlist = - coverage_erase, - py{27,34,35,py}-dj{18,110}, - py{27,34,35,36,py}-dj{111}, - py{34,35,36}-dj{20}, - flake8, - coverage_report + dj{22,30} [testenv] usedevelop = true @@ -19,22 +14,6 @@ setenv = PYTHONPATH={toxinidir}/djclick/test/testprj deps = -rrequirements-test.txt - dj18: django>=1.8,<1.9 - dj110: django>=1.10,<1.11 - dj111: django>=1.11,<1.12 - dj20: django>=2.0,<2.1 + dj22: django>=2.2,<2.3 + dj30: django>=3.0,<3.1 commands = py.test -rxs --cov-report= --cov-append --cov djclick {posargs:djclick} - -[testenv:coverage_erase] -commands = coverage erase -deps = coverage - -[testenv:flake8] -commands = flake8 djclick -deps = flake8 - -[testenv:coverage_report] -commands = - coverage report - coverage html -deps = coverage