Skip to content

Commit

Permalink
Added testing for Django 3.1 (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep authored Aug 14, 2020
1 parent 6fc3a96 commit b8068d9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,22 @@ jobs:
strategy:
matrix:
python-version: ['3.5', '3.6', '3.7', '3.8']
django-version: ['2.2', '3.0', master]
django-version: ['2.2', '3.0', '3.1', master]
variant: [normal, yubikey, custom_user]
experimental: ['true', 'false']
exclude:
- python-version: '3.5'
django-version: '3.0'
- python-version: '3.5'
django-version: '3.1'
- python-version: '3.5'
django-version: master
- django-version: '2.2'
experimental: 'true'
- django-version: '3.0'
experimental: 'true'
- django-version: '3.1'
experimental: 'true'
- django-version: master
experimental: 'false'

Expand Down
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ python:
env:
- DJANGO=2.2 VARIANT=normal
- DJANGO=3.0 VARIANT=normal
- DJANGO=3.1 VARIANT=normal
- DJANGO=master VARIANT=normal

matrix:
Expand Down Expand Up @@ -44,6 +45,19 @@ matrix:
- python: 3.8
env: DJANGO=3.0 VARIANT=custom_user

- python: 3.6
env: DJANGO=3.1 VARIANT=yubikey
- python: 3.6
env: DJANGO=3.1 VARIANT=custom_user
- python: 3.7
env: DJANGO=3.1 VARIANT=yubikey
- python: 3.7
env: DJANGO=3.1 VARIANT=custom_user
- python: 3.8
env: DJANGO=3.1 VARIANT=yubikey
- python: 3.8
env: DJANGO=3.1 VARIANT=custom_user

- python: 3.6
env: DJANGO=master VARIANT=yubikey
- python: 3.6
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
'Framework :: Django',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ minversion = 1.8
envlist =
py{35,36,37,38}-dj22-{normal,yubikey,custom_user},
py{36,37,38}-dj30-{normal,yubikey,custom_user},
py{36,37,38}-dj31-{normal,yubikey,custom_user},
py{36,37,38}-djmaster-{normal,yubikey,custom_user}
skipsdist = True

Expand All @@ -14,6 +15,7 @@ unignore_outcomes = True
DJANGO =
2.2: dj22
3.0: dj30
3.1: dj31
master: djmaster
VARIANT =
normal: normal
Expand All @@ -31,6 +33,7 @@ python =
DJANGO =
2.2: dj22
3.0: dj30
3.1: dj31
master: djmaster
VARIANT =
normal: normal
Expand All @@ -48,9 +51,9 @@ basepython =
py37: python3.7
py38: python3.8
deps =
dj111: Django<1.12
dj22: Django<2.3
dj30: Django<3.1
dj31: Django<3.2
djmaster: https://github.com/django/django/archive/master.tar.gz
yubikey: django-otp-yubikey
coverage
Expand Down

0 comments on commit b8068d9

Please sign in to comment.