Skip to content

Commit f355fda

Browse files
committed
made sure the app runs on Django 3.2
1 parent a4d2f44 commit f355fda

File tree

3 files changed

+16
-30
lines changed

3 files changed

+16
-30
lines changed

.travis.yml

+12-28
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,15 @@ dist: xenial
33
language: python
44
cache: pip
55
sudo: false
6-
matrix:
7-
include:
8-
- env: TOXENV=py36-dj22
9-
python: 3.6
10-
- env: TOXENV=py36-dj30
11-
python: 3.6
12-
- env: TOXENV=py36-dj31
13-
python: 3.6
14-
- env: TOXENV=py37-dj22
15-
python: 3.7
16-
- env: TOXENV=py37-dj30
17-
python: 3.7
18-
- env: TOXENV=py37-dj31
19-
python: 3.7
20-
- env: TOXENV=py38-dj22
21-
python: 3.8
22-
- env: TOXENV=py38-dj30
23-
python: 3.8
24-
- env: TOXENV=py38-dj31
25-
python: 3.8
26-
- env: TOXENV=py39-dj22
27-
python: 3.9
28-
- env: TOXENV=py39-dj30
29-
python: 3.9
30-
- env: TOXENV=py39-dj31
31-
python: 3.9
32-
install: pip install tox-travis
33-
script: tox
6+
7+
python:
8+
- "3.6"
9+
- "3.7"
10+
- "3.8"
11+
- "3.9"
12+
13+
install:
14+
- pip install tox-travis
15+
16+
script:
17+
- tox

setup.cfg

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ classifiers =
2727
Framework :: Django :: 2.2
2828
Framework :: Django :: 3.0
2929
Framework :: Django :: 3.1
30+
Framework :: Django :: 3.2
3031

3132
[options]
3233
zip_safe = False
@@ -68,4 +69,4 @@ exclude =
6869
.eggs
6970

7071
[tool:pytest]
71-
DJANGO_SETTINGS_MODULE = secretballot.tests.settings
72+
DJANGO_SETTINGS_MODULE = secretballot.tests.settings

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
22
distribute = False
33
envlist =
4-
py{36,37,38,39}-dj{22,30,31}
4+
py{36,37,38,39}-dj{22,30,31,32}
55
skip_missing_interpreters = True
66

77
[travis]
@@ -20,4 +20,5 @@ deps =
2020
dj22: Django>=2.2,<3.0
2121
dj30: Django>=3.0,<3.1
2222
dj31: Django>=3.1,<3.2
23+
dj32: Django>=3.2,<3.3
2324
commands = pytest --cov --cov-append --cov-report=

0 commit comments

Comments
 (0)