Skip to content

Commit

Permalink
Add Django 2.1 to test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaoming committed Sep 17, 2018
1 parent 22d5a7d commit 018074b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -13,9 +13,12 @@ env:
- LINT="yes"
- DJANGO="1.11"
- DJANGO="2.0"
- DJANGO="2.1"

matrix:
exclude:
- python: "3.4"
env: DJANGO="2.1"
- python: "3.5"
env: LINT="yes"
- python: "3.6"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -24,7 +24,7 @@ def get_path(fname):


install_requirements = [
"Django>=1.11,<2.1.1",
"Django>=1.11,<2.2",
"bleach>=2.1,<2.2",
"Pillow",
"django-nyt>=1.1.1,<1.2",
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
@@ -1,6 +1,6 @@
[tox]
# Ensure you add to .travis.yml if you add here, using `tox -l`
envlist = {py34,py35,py36}-django{111,20},lint
envlist = {py34,py35,py36}-django{111,20,21},lint


[travis]
Expand All @@ -13,6 +13,7 @@ python =
DJANGO =
1.11: django111
2.0: django20
2.1: django21
LINT =
yes: lint

Expand All @@ -35,6 +36,7 @@ deps =
.[test]
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2

basepython =
py34: python3.4
Expand Down

0 comments on commit 018074b

Please sign in to comment.