Skip to content

Commit

Permalink
Test against Django 2/3, Python 3.7/3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
grantmcconnaughey committed Jan 4, 2020
1 parent 25edc41 commit a10771f
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 15 deletions.
35 changes: 26 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ python:
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
before_install:
- pip install coveralls
install:
Expand All @@ -12,17 +14,32 @@ install:
- pip install Django==${DJANGO}
script: make test
env:
- DJANGO=1.9.13
- DJANGO=1.10.7
- DJANGO=1.11.8
- DJANGO=2.0
- DJANGO=1.11.27
- DJANGO=2.0.13
- DJANGO=2.1.15
- DJANGO=2.2.9
- DJANGO=3.0.2
matrix:
exclude:
- python: 3.6
env: DJANGO=1.9.13
- python: 3.6
env: DJANGO=1.10.7
- python: 2.7
env: DJANGO=2.0
env: DJANGO=2.0.13
- python: 3.8
env: DJANGO=2.0.13
- python: 2.7
env: DJANGO=2.1.15
- python: 3.4
env: DJANGO=2.1.15
- python: 3.8
env: DJANGO=2.1.15
- python: 2.7
env: DJANGO=2.2.9
- python: 3.4
env: DJANGO=2.2.9
- python: 2.7
env: DJANGO=3.0.2
- python: 3.4
env: DJANGO=3.0.2
- python: 3.5
env: DJANGO=3.0.2
after_success:
- coveralls
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

* 5.0.0 (Unreleased)
* Added Django 2.1, 2.2, and 3.0 support.
* Added Python 3.7 and 3.8 support.
* Removed Python 1.9 and 1.10 support.

* 4.1.0 (December 20, 2017)
* Added Django 2.0 support.
* Added ``avatar_deleted`` signal.
Expand Down
4 changes: 0 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ django-avatar
:target: https://coveralls.io/github/grantmcconnaughey/django-avatar?branch=master
:alt: Coverage

.. image:: https://lintly.com/gh/grantmcconnaughey/django-avatar/badge.svg
:target: https://lintly.com/gh/grantmcconnaughey/django-avatar/
:alt: Lintly

Django-avatar is a reusable application for handling user avatars. It has the
ability to default to Gravatar if no avatar is found for a certain user.
Django-avatar automatically generates thumbnails and stores them to your default
Expand Down
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def find_version(*file_paths):
return version_match.group(1)
raise RuntimeError("Unable to find version string.")


setup(
name='django-avatar',
version=find_version("avatar", "__init__.py"),
Expand All @@ -29,9 +30,11 @@ def find_version(*file_paths):
'Framework :: Django',
'Intended Audience :: Developers',
'Framework :: Django',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
Expand All @@ -41,6 +44,8 @@ def find_version(*file_paths):
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords='avatar, django',
author='Eric Florenzano',
Expand Down

0 comments on commit a10771f

Please sign in to comment.