Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
-r requirements.txt

pytest
coverage<5
pytest-django
pytest-cov
pytest-flake8
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
six>=1.9.0
click>5.0,<7.1
click>=7.1,<7.2
27 changes: 3 additions & 24 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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