Skip to content

Commit

Permalink
enable Django 3.2 CI and add default_auto_field
Browse files Browse the repository at this point in the history
  • Loading branch information
snio89 authored and auvipy committed Apr 9, 2021
1 parent 079b2f0 commit 7416e22
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
- DJANGO=2.2
- DJANGO=3.0
- DJANGO=3.1
- DJANGO=3.2
os:
- linux
matrix:
Expand Down
1 change: 1 addition & 0 deletions django_celery_beat/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ class BeatConfig(AppConfig):
name = 'django_celery_beat'
label = 'django_celery_beat'
verbose_name = _('Periodic Tasks')
default_auto_field = 'django.db.models.AutoField'
1 change: 1 addition & 0 deletions requirements/test-django32.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
django>=3.2,<3.3
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[tox]
envlist =
py36-django{22,30,31}
py37-django{22,30,31}
py38-django{22,30,31}
pypy3-django{22,30,31}
py36-django{22,30,31,32}
py37-django{22,30,31,32}
py38-django{22,30,31,32}
pypy3-django{22,30,31,32}
flake8
flakeplus
apicheck
Expand All @@ -16,6 +16,7 @@ DJANGO =
2.2: django22
3.0: django30
3.1: django31
3.2: django32

[testenv]
deps=
Expand All @@ -28,6 +29,7 @@ deps=
django22: -r{toxinidir}/requirements/test-django22.txt
django30: -r{toxinidir}/requirements/test-django30.txt
django31: -r{toxinidir}/requirements/test-django31.txt
django32: -r{toxinidir}/requirements/test-django32.txt

linkcheck,apicheck: -r{toxinidir}/requirements/docs.txt
flake8,flakeplus,pydocstyle: -r{toxinidir}/requirements/pkgutils.txt
Expand Down

0 comments on commit 7416e22

Please sign in to comment.