Skip to content

Commit 0b2215f

Browse files
committed
Update tox.ini
1 parent 9ad2992 commit 0b2215f

File tree

2 files changed

+12
-29
lines changed

2 files changed

+12
-29
lines changed

.python-version

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
3.7.5
2-
3.6.6
3-
3.5.6
4-
3.4.9
5-
pypy-5.7.1
1+
3.8.5
2+
3.7.8
3+
3.6.11

tox.ini

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,19 @@
11
[tox]
2-
skipsdist = True
3-
envlist =
4-
{py34,py35,pypy,pypy3}-django18
5-
{py34,py35,pypy,pypy3}-django19
6-
{py34,py35,pypy,pypy3}-django110
7-
{py34,py35,py36,py37,pypy3}-django111
8-
{py34,py35,py36,py37,pypy3}-django20
9-
{py35,py36,py37,pypy3}-django21
10-
{py35,py36,py37,pypy3}-django22
11-
{py36,py37,pypy3}-django30
12-
13-
[tox:travis]
14-
3.4 = py34
15-
3.5 = py35
16-
3.6 = py36
17-
3.7 = py37
18-
pypy3 = pypy3
2+
isolated_build = true
3+
envlist = py{36,37,38}-django{20,21,22,30,31}
194

205
[testenv]
21-
skip_install = True
226
setenv = PYTHONPATH={toxinidir}
237
deps =
24-
.[tests]
25-
django18: Django>=1.8,<1.9
26-
django19: Django>=1.9,<1.10
27-
django110: Django>=1.10,<1.11
28-
django111: Django>=1.11,<2.0
298
django20: Django>=2.0,<2.1
309
django21: Django>=2.1,<2.2
3110
django22: Django>=2.2,<2.3
3211
django30: Django>=3.0,<3.1
12+
django31: Django>=3.1,<3.2
13+
whitelist_externals =
14+
poetry
15+
sh
16+
skip_install = true
3317
commands =
34-
py.test --cov
18+
sh -c 'poetry export --dev --without-hashes | grep -v "^[dD]jango==" | poetry run pip install --no-deps -r /dev/stdin'
19+
poetry run pytest --isort --flake8 --black --cov

0 commit comments

Comments
 (0)