Skip to content

Commit

Permalink
Merge pull request #88 from benjaoming/django-3
Browse files Browse the repository at this point in the history
Add Django 3.0 support
  • Loading branch information
benjaoming committed Nov 19, 2019
2 parents d2a7e46 + 3dc46b3 commit f701fa2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ matrix:
dist: xenial
sudo: false
env: DJANGO="2.2"
- python: 3.6
dist: xenial
sudo: false
env: DJANGO="3.0"

- python: 3.7
dist: xenial
Expand All @@ -63,6 +67,10 @@ matrix:
dist: xenial
sudo: true
env: DJANGO="2.2"
- python: 3.7
dist: xenial
sudo: true
env: DJANGO="3.0"

- python: pypy
dist: trusty
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
keywords=["django", "notification" "alerts"],
packages=find_packages(),
zip_safe=False,
install_requires=["django>=1.11,<2.3"],
install_requires=["django>=1.11,<3.1"],
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
# Ensure you add to .travis.yml if you add here
envlist = {py34,py35,py36,py37,pypy}-django{111,20,21,22}
envlist = {py34,py35,py36,py37,pypy}-django{111,20,21,22,30}

[travis]
python =
Expand All @@ -16,6 +16,7 @@ DJANGO =
2.0: django20
2.1: django21
2.2: django22
3.0: django30
LINT =
yes: lint

Expand All @@ -33,6 +34,7 @@ deps =
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
django30: Django>=3.0rc1,<3.1

basepython =
py34: python3.4
Expand Down

0 comments on commit f701fa2

Please sign in to comment.