Skip to content

Commit

Permalink
Support Wagtail 2.7 (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
cwdavies authored Jan 30, 2020
1 parent f31f2e5 commit fbf78d9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ matrix:
include:
- env: TOXENV=lint
python: 3.6
- env: TOXENV=py27-dj111-wag113
python: 2.7
- env: TOXENV=py36-dj111-wag113
python: 3.6
- env: TOXENV=py36-dj111-wag22
python: 3.6
- env: TOXENV=py36-dj21-wag23
python: 3.6
- env: TOXENV=py36-dj21-wag24
python: 3.6
- env: TOXENV=py36-dj22-wag25
- env: TOXENV=py36-dj22-wag27
python: 3.6

install:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Wagtail-TreeModelAdmin is an extension for Wagtail's [ModelAdmin](http://docs.wa

## Dependencies

- Python 2.7+, 3.6+
- Django 1.11+, 2.0+
- Wagtail 1.13+, 2.0+
- Python 3.6, 3.7, 3.8
- Django 1.11, 2.0, 2.2
- Wagtail 1.13, 2.3, 2.7

## Installation

Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

install_requires = [
'Django>=1.11,<2.3',
'wagtail>=1.13,<2.6',
'wagtail>=1.13,<2.8',
]


Expand Down Expand Up @@ -52,10 +52,9 @@
'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
'License :: Public Domain',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
]
)
9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
skipsdist=True
envlist=
lint,
py{27,36}-dj{111}-wag{113},
py{36}-dj{111}-wag{113},
py{36}-dj{111,20}-wag{22},
py{36,37}-dj{21}-wag{23,24}
py{36,37}-dj{22}-wag{25}
py{36,37}-dj{21}-wag{23}
py{36,37}-dj{22}-wag{27}

[testenv]
install_command=pip install -e ".[testing]" -U {opts} {packages}
Expand All @@ -17,9 +17,9 @@ setenv=
DJANGO_SETTINGS_MODULE=treemodeladmin.tests.settings

basepython=
py27: python2.7
py36: python3.6
py37: python3.7
py38: python3.8

deps=
dj111: Django>=1.11,<1.12
Expand All @@ -31,6 +31,7 @@ deps=
wag23: wagtail>=2.3,<2.4
wag24: wagtail>=2.4,<2.5
wag25: wagtail>=2.5,<2.6
wag27: wagtail>=2.7,<2.8

[testenv:lint]
basepython=python3.6
Expand Down

0 comments on commit fbf78d9

Please sign in to comment.