Skip to content

Commit

Permalink
0.4.0. Updated django compat (now tested on 2.1. Dropped <1.11)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigds committed Jan 6, 2019
1 parent 094de1a commit e1bcfed
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
14 changes: 6 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
sudo: false
language: python
python:
- "3.6"
- "3.5"
- "3.7"
- "3.4"
- "2.7"
env:
- DJANGO="Django>=1.8,<1.9"
- DJANGO="Django>=1.10,<1.11"
- DJANGO="Django>=1.11,<2.0"
- DJANGO="Django>2.0,<2.1"
- DJANGO="Django>=2.0,<2.1"
- DJANGO="Django>=2.1,<2.2"
matrix:
exclude:
- env: DJANGO="Django>=1.8,<1.9"
python: "3.5"
- env: DJANGO="Django>2.0,<2.1"
- env: DJANGO="Django>=2.0,<2.1"
python: "2.7"
- env: DJANGO="Django>=2.1,<2.2"
python: "2.7"

install: pip install $DJANGO
Expand Down
2 changes: 1 addition & 1 deletion fieldsignals/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .signals import pre_save_changed, post_save_changed # noqa

__version__ = (0, 3, 4)
__version__ = (0, 4, 0)
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='django-fieldsignals',
version='0.3.4',
version='0.4.0',
packages=['fieldsignals', 'fieldsignals.tests'],
include_package_data=True,
test_suite='fieldsignals.tests.test_signals',
Expand All @@ -31,6 +31,8 @@
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
Expand Down
14 changes: 4 additions & 10 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
[tox]
envlist =
{py27,py34,py35}-{dj18}
{py34,py35,py36}-{dj110,dj111,dj20}
{py27,py34,py37}-{dj111}
{py34,py37}-{dj20,dj21}

[testenv]
commands = python {toxinidir}/setup.py test {posargs}
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
deps =
dj18: Django>=1.8,<1.9
dj110: Django>=1.10,<1.11
dj111: Django>=1.11,<2.0
dj20: Django>2.0,<2.1
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2

0 comments on commit e1bcfed

Please sign in to comment.