Skip to content

Commit

Permalink
add Django-3 to testing matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed May 11, 2020
1 parent 84c8eb0 commit 16b2562
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 22 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ python:
env:
- DJANGOVER=django21
- DJANGOVER=django22
- DJANGOVER=django30

install:
- pip install tox
Expand Down
43 changes: 22 additions & 21 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,37 @@
with open('README.md', 'r') as fh:
long_description = fh.read()

REQUIREMENTS = [
'Django>=2.1,<3.1',
'django-filer>=1.7',
'django-ipware',
'django-fsm',
'django-fsm-admin',
'djangorestframework>=3.9,<4',
'django-rest-auth',
'django-angular',
'Django-Select2',
'django-rest-auth',
'django-admin-sortable2',
'django-formtools',
'django_polymorphic',
'django-post_office',
'django-cms>=3.7',
'djangocms-cascade>=1.3',
]

CLASSIFIERS = [
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Programming Language :: Python :: 3.8',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
Expand All @@ -37,22 +55,5 @@
packages=find_packages(exclude=['tests', 'docs']),
include_package_data=True,
zip_safe=False,
install_requires=[
'Django>=2.1,<3.1',
'django-filer',
'django-ipware',
'django-fsm',
'django-fsm-admin',
'djangorestframework>=3.9,<4',
'django-rest-auth',
'django-angular',
'Django-Select2',
'django-rest-auth',
'django-admin-sortable2',
'django-formtools',
'django_polymorphic',
'django-post_office',
'django-cms>=3.7',
'djangocms-cascade',
],
install_requires=REQUIREMENTS,
)
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{36,37,38}-django{21,22}
envlist = py{36,37,38}-django{21,22,30}

[testenv]
changedir = tests
Expand All @@ -10,5 +10,6 @@ commands =
deps =
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
setenv =
DJANGO_DEBUG = 1

0 comments on commit 16b2562

Please sign in to comment.