Skip to content

Commit

Permalink
Add Python 3.7 to the test matrix
Browse files Browse the repository at this point in the history
Use xenial dist and sudo for the Python 3.7 builds.
  • Loading branch information
jwhitlock committed Oct 3, 2018
1 parent 58f48f7 commit b27b7fe
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ matrix:
python: "3.5"
- env: TOXENV=py36-django-21
python: "3.6"
- env: TOXENV=py37-django-21
python: "3.7"
sudo: required
dist: xenial
- env: TOXENV=py35-django-20
python: "3.5"
- env: TOXENV=py36-django-20
Expand All @@ -40,10 +44,18 @@ matrix:
python: "3.5"
- env: TOXENV=py36-django-21-postgres DATABASE_URL="postgres://postgres@localhost:5432/py36-django-21-postgres"
python: "3.6"
- env: TOXENV=py37-django-21-postgres DATABASE_URL="postgres://postgres@localhost:5432/py37-django-21-postgres"
python: "3.7"
sudo: required
dist: xenial
- env: TOXENV=py35-django-20-postgres DATABASE_URL="postgres://postgres@localhost:5432/py35-django-20-postgres"
python: "3.5"
- env: TOXENV=py36-django-20-postgres DATABASE_URL="postgres://postgres@localhost:5432/py36-django-20-postgres"
python: "3.6"
- env: TOXENV=py37-django-20-postgres DATABASE_URL="postgres://postgres@localhost:5432/py37-django-20-postgres"
python: "3.7"
sudo: required
dist: xenial
- env: TOXENV=py27-django-111-postgres DATABASE_URL="postgres://postgres@localhost:5432/py27-django-111-postgres"
python: "2.7"
- env: TOXENV=py36-django-111-postgres DATABASE_URL="postgres://postgres@localhost:5432/py36-django-111-postgres"
Expand Down
6 changes: 2 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ recommended. It follows the `Django's support policy`_, supporting:
* Django 1.9 with Python 2.7, 3.4, or 3.5
* Django 1.10 with Python 2.7, 3.4, or 3.5
* Django 1.11 (LTS) with Python 2.7, 3.4, 3.5, or 3.6
* Django 2.0 with Python 3.4, 3.5 or 3.6
* Django 2.1 with Python 3.5 or 3.6

Python 3.7 should work, but is untested in TravisCI.
* Django 2.0 with Python 3.4, 3.5, 3.6, or 3.7
* Django 2.1 with Python 3.5, 3.6, or 3.7

.. _latest release: https://pypi.python.org/pypi/nose
.. _Django's support policy: https://docs.djangoproject.com/en/1.8/internals/release-process/#supported-versions
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def get_long_description(title):
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Testing'
]
)

0 comments on commit b27b7fe

Please sign in to comment.