Skip to content

Commit f701fa2

Browse files
authored
Merge pull request #88 from benjaoming/django-3
Add Django 3.0 support
2 parents d2a7e46 + 3dc46b3 commit f701fa2

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ matrix:
5050
dist: xenial
5151
sudo: false
5252
env: DJANGO="2.2"
53+
- python: 3.6
54+
dist: xenial
55+
sudo: false
56+
env: DJANGO="3.0"
5357

5458
- python: 3.7
5559
dist: xenial
@@ -63,6 +67,10 @@ matrix:
6367
dist: xenial
6468
sudo: true
6569
env: DJANGO="2.2"
70+
- python: 3.7
71+
dist: xenial
72+
sudo: true
73+
env: DJANGO="3.0"
6674

6775
- python: pypy
6876
dist: trusty

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
keywords=["django", "notification" "alerts"],
1818
packages=find_packages(),
1919
zip_safe=False,
20-
install_requires=["django>=1.11,<2.3"],
20+
install_requires=["django>=1.11,<3.1"],
2121
classifiers=[
2222
'Development Status :: 5 - Production/Stable',
2323
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',

tox.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
# Ensure you add to .travis.yml if you add here
3-
envlist = {py34,py35,py36,py37,pypy}-django{111,20,21,22}
3+
envlist = {py34,py35,py36,py37,pypy}-django{111,20,21,22,30}
44

55
[travis]
66
python =
@@ -16,6 +16,7 @@ DJANGO =
1616
2.0: django20
1717
2.1: django21
1818
2.2: django22
19+
3.0: django30
1920
LINT =
2021
yes: lint
2122

@@ -33,6 +34,7 @@ deps =
3334
django20: Django>=2.0,<2.1
3435
django21: Django>=2.1,<2.2
3536
django22: Django>=2.2,<2.3
37+
django30: Django>=3.0rc1,<3.1
3638

3739
basepython =
3840
py34: python3.4

0 commit comments

Comments
 (0)