Skip to content

Commit

Permalink
Merge pull request #87 from jwhitlock/django-2.1
Browse files Browse the repository at this point in the history
Add Django 2.1, Python 3.7 support
  • Loading branch information
jwhitlock authored Aug 26, 2018
2 parents 9eef7b6 + 3548143 commit ac55304
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,18 @@ matrix:
python: "3.5"
- env: TOX_ENV=py36-django20-postgis
python: "3.6"
- env: TOX_ENV=py35-django21-postgis
python: "3.5"
- env: TOX_ENV=py36-django21-postgis
python: "3.6"
- env: TOX_ENV=py35-django-master-postgis
python: "3.5"
- env: TOX_ENV=py36-django-master-postgis
python: "3.6"
- env: TOX_ENV=py37-django-master-postgis
python: "3.7"
allow_failures:
# Django master is allowed to fail
- env: TOX_ENV=py35-django-master-postgis
- env: TOX_ENV=py36-django-master-postgis
- env: TOX_ENV=py37-django-master-postgis
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3
FROM python:3.6
ENV PYTHONUNBUFFERED 1

RUN apt-get update
Expand Down
Empty file modified examples/explore/docker_run.sh
100644 → 100755
Empty file.
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ def get_long_description():
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.8",
"Framework :: Django :: 1.9",
"Framework :: Django :: 1.10",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ envlist =
py{27,34}-django18-{postgis,spatiallite}
py{27,34,35}-django{19,110}-{postgis,spatiallite}
py{27,34,35,36}-django111-{postgis,spatiallite}
py{35,36}-django{20,-master}-{postgis,spatiallite}
py{35,36}-django20-{postgis,spatiallite}
py{35,36,37}-django{21,-master}-{postgis,spatiallite}

[flake8]
exclude = .tox/*,.build/*,.dist/*,build/*
Expand All @@ -18,6 +19,7 @@ deps=
django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django-master: https://github.com/django/django/archive/master.tar.gz
postgis: psycopg2
nose
Expand Down

0 comments on commit ac55304

Please sign in to comment.