Skip to content

Commit

Permalink
Support django 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-s committed Feb 19, 2020
1 parent 60be831 commit 2820a87
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 7 deletions.
23 changes: 20 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,22 @@ jobs:
<<: *py36default
py35-dj20-sqlite-cms40-default:
<<: *py35default
py35-dj22-sqlite-cms40-default:
<<: *py35default
py36-dj20-sqlite-cms40-default:
<<: *py36default
py36-dj21-sqlite-cms40-default:
<<: *py36default
py36-dj22-sqlite-cms40-default:
<<: *py36default
py35-dj20-sqlite-cms40-versioning:
<<: *py35default
py35-dj22-sqlite-cms40-versioning:
<<: *py35default
py36-dj21-sqlite-cms40-versioning:
<<: *py36default
py36-dj22-sqlite-cms40-versioning:
<<: *py36default

#######################

Expand All @@ -97,15 +105,24 @@ workflows:
- py35-dj20-sqlite-cms40-default:
requires:
- py35_base
- py35-dj20-sqlite-cms40-versioning:
requires:
- py35_base
- py35-dj22-sqlite-cms40-versioning:
requires:
- py35_base
- py36-dj20-sqlite-cms40-default:
requires:
- py36_base
- py36-dj21-sqlite-cms40-default:
requires:
- py36_base
- py35-dj20-sqlite-cms40-versioning:
requires:
- py35_base
- py36-dj21-sqlite-cms40-versioning:
requires:
- py36_base
- py36-dj22-sqlite-cms40-default:
requires:
- py36_base
- py36-dj22-sqlite-cms40-versioning:
requires:
- py36_base
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,19 @@
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
]

INSTALL_REQUIREMENTS = [
'Django>=1.11,<2.2',
'Django>=1.11,<3.0',
'django-parler>=1.4',
'django-cms'
]

TEST_REQUIRE = [
'djangocms-versioning'
]

setup(
name='djangocms-alias',
author='Divio AG',
Expand All @@ -43,8 +48,10 @@
packages=find_packages(),
include_package_data=True,
zip_safe=False,
tests_require=TEST_REQUIRE,
test_suite='test_settings.run',
dependency_links=[
'http://github.com/divio/django-cms/tarball/release/4.0.x#egg=django-cms-4.0.0',
'http://github.com/divio/djangocms-versioning/tarball/master#egg=djangocms-versioning-0.0.23',
]
)
1 change: 0 additions & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ coverage
djangocms_helper
flake8
isort
https://github.com/divio/djangocms-versioning/archive/master.zip
pyflakes>=2.1.1
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist =
flake8
isort
py{34,35,36}-dj{111,20,21}-sqlite-cms40-{default,versioning}
py{35,36}-dj{111,20,21,22}-sqlite-cms40-{default,versioning}

skip_missing_interpreters=True

Expand All @@ -14,11 +14,11 @@ deps =

dj111: Django>=1.11,<2.0
dj20: Django>=2.0,<2.1
dj22: Django>2.1,<3.0

cms40: https://github.com/divio/django-cms/archive/release/4.0.x.zip

basepython =
py34: python3.4
py35: python3.5
py36: python3.6

Expand Down

0 comments on commit 2820a87

Please sign in to comment.