Skip to content

Commit 18dc91a

Browse files
authored
Merge pull request #33 from joehybird/compat-dj22
Confirm Django 2.2 compatibility
2 parents cc128cd + 8b56329 commit 18dc91a

File tree

4 files changed

+32
-66
lines changed

4 files changed

+32
-66
lines changed

.travis.yml

Lines changed: 10 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,18 @@
1+
dist: xenial
12
sudo: false
23
language: python
3-
matrix:
4-
fast_finish: true
5-
include:
6-
# Python version is just for the look on travis.
7-
- python: 2.7
8-
env: TOXENV=flake8-py27
9-
10-
- python: 3.5
11-
env: TOXENV=flake8-py35
12-
13-
- python: 2.7
14-
env: TOXENV=py27-django111
15-
16-
- python: 3.5
17-
env: TOXENV=py35-django111
18-
19-
- python: 3.5
20-
env: TOXENV=py35-django20
21-
22-
- python: 3.5
23-
env: TOXENV=py35-django21
24-
25-
- python: 3.5
26-
env: TOXENV=py35-djangomaster
274

28-
- python: 3.6
29-
env: TOXENV=py36-django111
5+
python:
6+
- 2.7
7+
- 3.5
8+
- 3.6
9+
- 3.7
3010

31-
- python: 3.6
32-
env: TOXENV=py36-django20
33-
34-
- python: 3.6
35-
env: TOXENV=py36-django21
36-
37-
- python: 3.6
38-
env: TOXENV=py36-djangomaster
39-
40-
- python: 3.7
41-
env: TOXENV=py37-django20
42-
dist: xenial
43-
sudo: true
44-
45-
- python: 3.7
46-
env: TOXENV=py37-django21
47-
dist: xenial
48-
sudo: true
49-
50-
- python: 3.7
51-
env: TOXENV=py37-djangomaster
52-
dist: xenial
53-
sudo: true
54-
55-
allow_failures:
56-
- env: TOXENV=py35-djangomaster
57-
- env: TOXENV=py36-djangomaster
58-
- env: TOXENV=py37-djangomaster
11+
matrix:
12+
fast_finish: true
5913

6014
install:
61-
- pip install tox
15+
- pip install tox tox-travis
6216

6317
script:
64-
- tox -e $TOXENV
18+
- tox -r

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## master (unreleased)
44

5-
Nothing to see here yet.
5+
- Confirm support for Django 2.2
66

77
## 1.4.0 (2018-12-17)
88

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ your RAM.
1111
Tested with all the combinations of:
1212

1313
* Python: 2.7, 3.5, 3.6, 3.7
14-
* Django: 1.11, 2, 2.1, master
14+
* Django: 1.11, 2, 2.1, 2.2, master
1515

1616

1717
Usage

tox.ini

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
[tox]
22
envlist =
3-
flake8-py27,
4-
flake8-py35,
3+
py{27,35}-flake8,
54
py{27,35,36}-django111,
6-
py{35,36,37}-django20,
7-
py{35,36,37}-django21,
8-
py{35,36,37}-djangomaster
5+
py{35,36,37}-django{20,21,22}
6+
py{36,37}-djangomaster
97

108
[testenv]
119
basepython =
@@ -18,16 +16,30 @@ deps =
1816
django111: Django>=1.11,<2.0
1917
django20: Django>=2.0,<2.1
2018
django21: Django>=2.1,<2.2
19+
django22: Django>=2.2,<3.0
2120
djangomaster: https://github.com/django/django/archive/master.tar.gz#egg=django
2221
commands =
2322
python --version
2423
pip install -e demo/
25-
rundemo test demo_chunkator
24+
python -Wd {envbindir}/rundemo test {posargs:demo_chunkator}
2625

27-
[testenv:flake8-py27]
26+
[travis]
27+
python =
28+
2.7: py27
29+
3.5: py35
30+
3.6: py36
31+
3.7: py37
32+
33+
[testenv:py36-djangomaster]
34+
ignore_outcome=true
35+
36+
[testenv:py37-djangomaster]
37+
ignore_outcome=true
38+
39+
[testenv:py27-flake8]
2840
commands = flake8 chunkator
2941
deps = flake8
3042

31-
[testenv:flake8-py35]
43+
[testenv:py35-flake8]
3244
commands = flake8 chunkator
3345
deps = flake8

0 commit comments

Comments
 (0)