Skip to content

Commit

Permalink
Test against Django 2.2 and Python 3.7 (#352)
Browse files Browse the repository at this point in the history
* Test against Django 2.2

* Test against Python 3.7
  • Loading branch information
timgraham authored and joshblum committed Jan 29, 2019
1 parent fa5dac1 commit 3ae06c7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
dist: xenial
language: python
sudo: false
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7

install:
pip install -r test-requirements.txt
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Version 2.6, TBD
* Bugfix: Pass `user` instance instead of `user.get_username()` to template
context. -
`#350 <https://github.com/macropin/django-registration/pull/350>_`
* Feature: Add testing for Django 2.2 and Python 3.7 (no code changes
required). - `#352
<https://github.com/macropin/django-registration/pull/352>_`

Version 2.5, 27 October, 2018
----------------
Expand Down
4 changes: 2 additions & 2 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
Release notes
=============

The |version| release of |project| supports Python 2.7, 3.4, 3.5, 3.6 and
Django 1.11, 2.0, and 2.1.
The |version| release of |project| supports Python 2.7, 3.4, 3.5, 3.6, 3.7 and
Django 1.11, 2.0, 2.1, and 2.2.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def run_tests(self):
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
Expand All @@ -50,6 +51,7 @@ def run_tests(self):
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
Expand Down
11 changes: 6 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@

[tox]
envlist =
{py27,py34,py35,py36}-django111,
{py34,py35,py36}-django20,
{py35,py36}-django21,
py{27,34,35,36,37}-django111,
py3{4,5,6,7}-django20,
py3{5,6,7}-django21,
py3{5,6,7}-django22,

[testenv]
commands =
Expand All @@ -17,12 +18,12 @@ deps =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2a1,<3.0

[travis]
python =
2.7: py27
3.4: py34
3.5: py35
3.6: py36
# TODO add python 3.7 support when travis adds this.
# https://github.com/travis-ci/travis-ci/issues/9815
3.7: py37

0 comments on commit 3ae06c7

Please sign in to comment.