Skip to content

Commit

Permalink
Add testing for Django 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Jan 30, 2019
1 parent 0472271 commit 5508bbc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ matrix:
env: TOXENV=django2-py35
- python: "3.5"
env: TOXENV=django21-py35
- python: "3.5"
env: TOXENV=django22-py35

- python: "3.6"
env: TOXENV=django111-py36
- python: "3.6"
env: TOXENV=django2-py36
- python: "3.6"
env: TOXENV=django21-py36
- python: "3.6"
env: TOXENV=django22-py36

- python: "3.7"
sudo: required
Expand All @@ -41,6 +45,10 @@ matrix:
sudo: required
dist: xenial
env: TOXENV=django21-py37
- python: "3.7"
sudo: required
dist: xenial
env: TOXENV=django22-py37
- python: "3.7"
sudo: required
dist: xenial
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

X.Y.Z
-----
#. Added testing for Django 2.2 (no code changes needed).

2.0.2
-----
#. Moved field based Google dev key check to an app ready registered security check.
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Django reCAPTCHA
:target: https://pypi.python.org/pypi/django-recaptcha
.. image:: https://img.shields.io/pypi/djversions/django-recaptcha.svg
:target: https://pypi.python.org/pypi/django-recaptcha

.. contents:: Contents
:depth: 5

Expand All @@ -27,7 +27,7 @@ Requirements
Tested with:

* Python: 2.7, 3.5, 3.6, 3.7
* Django: 1.11, 2.0, 2.1
* Django: 1.11, 2.0, 2.1, 2.2

Installation
------------
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
url='http://github.com/praekelt/django-recaptcha',
packages=find_packages(),
install_requires=[
'django>1.11,<2.3',
'django>1.11,<3.0',
],
tests_require=[
'tox',
Expand All @@ -25,6 +25,7 @@
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django :: 2.2',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.0',
'Framework :: Django :: 1.11',
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[tox]
envlist =
pycodestyle-{py27,py37},
django{111,2,21}-{py27,py35,py36,py37}
django{111,2,21,22}-{py27,py35,py36,py37}

[testenv]
deps =
django{111,2,21}: coverage
django{111,2,21,22}: coverage
django111: Django<2.0
django2: Django<2.1
django21: Django<2.2
django22: Django<3.0
py27: -rcaptcha/tests/requirements/py27.txt
pycodestyle: pycodestyle
commands =
django{111,2,21}: coverage run manage.py test
django{111,2,21,22}: coverage run manage.py test
pycodestyle: pycodestyle captcha/

0 comments on commit 5508bbc

Please sign in to comment.