Commit f25a15ce authored by Sean Bleier's avatar Sean Bleier

Merging Tim Graham's branch and fixing conflicts.

parents e76d9c10 bcc04618
dist: xenial
language: python language: python
python: python:
- 2.7 - 2.7
- 3.5 - 3.5
- 3.6 - 3.6
- 3.7
env: env:
- DJANGO_VERSION='>=1.11,<2.0' - DJANGO_VERSION='>=1.11,<2.0'
- DJANGO_VERSION='>=2.0,<2.1' - DJANGO_VERSION='>=2.0,<2.1'
- DJANGO_VERSION='>=2.1,<2.2' - DJANGO_VERSION='>=2.1,<2.2'
- DJANGO_VERSION='>=2.2a1,<3.0'
matrix: matrix:
exclude: exclude:
- python: 2.7 - python: 2.7
env: DJANGO_VERSION='>=2.0,<2.1' env: DJANGO_VERSION='>=2.0,<2.1'
- python: 2.7 - python: 2.7
env: DJANGO_VERSION='>=2.1,<2.2' env: DJANGO_VERSION='>=2.1,<2.2'
- python: 2.7
env: DJANGO_VERSION>=2.2a1,<3.0'
- python: 3.4
env: DJANGO_VERSION='>=2.1,<2.2'
- python: 3.4
env: DJANGO_VERSION='>=2.2a1,<3.0'
# command to run tests # command to run tests
install: ./install_redis.sh install: ./install_redis.sh
script: make test DJANGO_VERSION=$DJANGO_VERSION script: make test DJANGO_VERSION=$DJANGO_VERSION
......
SHELL := /bin/bash SHELL := /bin/bash
PACKAGE_NAME=redis_cache PACKAGE_NAME=redis_cache
DJANGO_VERSION?=>=1.11,<2.2 DJANGO_VERSION?=>=1.11,<3.0
.PHONY: install_requirements .PHONY: install_requirements
install_requirements: requirements*.txt install_requirements: requirements*.txt
......
...@@ -29,6 +29,7 @@ Changelog ...@@ -29,6 +29,7 @@ Changelog
* Drops support for Python 3.4. * Drops support for Python 3.4.
* Removes custom ``expire`` method in lieu of Django's ``touch``. * Removes custom ``expire`` method in lieu of Django's ``touch``.
* Removes ``CacheKey`` in favor of string literals. * Removes ``CacheKey`` in favor of string literals.
* Adds testing for Django 2.2 and Python 3.7 (no code changes required).
1.8.0 1.8.0
......
...@@ -2,4 +2,4 @@ hiredis==0.2.0 ...@@ -2,4 +2,4 @@ hiredis==0.2.0
django-nose==1.4.4 django-nose==1.4.4
nose==1.3.6 nose==1.3.6
msgpack-python==0.4.6 msgpack-python==0.4.6
pyyaml>=4.2b1 pyyaml==3.13
...@@ -16,6 +16,7 @@ setup( ...@@ -16,6 +16,7 @@ setup(
"Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: BSD License", "License :: OSI Approved :: BSD License",
"Operating System :: OS Independent", "Operating System :: OS Independent",
"Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries",
...@@ -25,5 +26,6 @@ setup( ...@@ -25,5 +26,6 @@ setup(
"Framework :: Django :: 1.11", "Framework :: Django :: 1.11",
"Framework :: Django :: 2.0", "Framework :: Django :: 2.0",
"Framework :: Django :: 2.1", "Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
], ],
) )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment