-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Require django-jsonfield >= 1.1.0 (#5)
* Drop support for Django 1.8-1.10 * Require django-jsonfield >= 1.1.0 * Add support for Django 2.1-2.2 * Add support for Python 3.7
- Loading branch information
1 parent
92fe793
commit b3f5b50
Showing
7 changed files
with
57 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,30 @@ | ||
sudo: false | ||
dist: xenial | ||
language: python | ||
python: | ||
- 2.7 | ||
- 3.4 | ||
- 3.5 | ||
- 3.6 | ||
- 3.7 | ||
|
||
env: | ||
- DJANGO_VERSION=1.8.18 | ||
- DJANGO_VERSION=1.9.13 | ||
- DJANGO_VERSION=1.10.8 | ||
- DJANGO_VERSION=1.11.8 | ||
- DJANGO_VERSION=2.0 | ||
- DJANGO_VERSION=1.11.20 | ||
- DJANGO_VERSION=2.0.13 | ||
- DJANGO_VERSION=2.1.8 | ||
- DJANGO_VERSION=2.2 | ||
|
||
install: | ||
- pip install -q Django==$DJANGO_VERSION | ||
- pip install 'django-jsonfield >= 1.0.1, < 2.0.0a0' coverage | ||
- pip install 'django-jsonfield >= 1.1.0, < 2.0.0a0' coverage | ||
|
||
script: coverage run --source=. ./setup.py test | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
matrix: | ||
exclude: | ||
- python: 2.7 | ||
env: DJANGO_VERSION=2.0 | ||
include: | ||
- python: 3.6 | ||
env: DJANGO_VERSION=1.11.8 | ||
- python: 3.6 | ||
env: DJANGO_VERSION=2.0 | ||
- python: 2.7 | ||
env: DJANGO_VERSION=1.11.20 | ||
- python: 3.4 | ||
env: DJANGO_VERSION=1.11.20 | ||
- python: 3.4 | ||
env: DJANGO_VERSION=2.0.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2017, Lucas Connors <[email protected]> | ||
Copyright (c) 2019, Lucas Connors <[email protected]> | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any | ||
purpose with or without fee is hereby granted, provided that the above | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Generated by Django 2.1.7 on 2019-04-04 12:43 | ||
|
||
import conditions.fields | ||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='Campaign', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('text', models.TextField()), | ||
('conditions', conditions.fields.ConditionsField(default=dict)), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='UserProfile', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('level', models.IntegerField(default=1)), | ||
('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), | ||
], | ||
), | ||
] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters