Skip to content

Commit 259e3f5

Browse files
author
Ryan P Kilby
committed
Add Python 3.7 to CI
1 parent 60a65a1 commit 259e3f5

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ matrix:
2121
- { python: "3.6", env: DJANGO=2.1 }
2222
- { python: "3.6", env: DJANGO=master }
2323

24+
- { python: "3.7", env: DJANGO=2.0, dist: xenial, sudo: true }
25+
- { python: "3.7", env: DJANGO=2.1, dist: xenial, sudo: true }
26+
- { python: "3.7", env: DJANGO=master, dist: xenial, sudo: true }
27+
2428
- { python: "3.6", env: TOXENV=base }
2529
- { python: "2.7", env: TOXENV=lint }
2630
- { python: "2.7", env: TOXENV=docs }
@@ -35,7 +39,6 @@ matrix:
3539

3640
allow_failures:
3741
- env: DJANGO=master
38-
- env: DJANGO=2.1
3942

4043
install:
4144
- pip install tox tox-venv tox-travis

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ There is a live example API for testing purposes, [available here][sandbox].
5252

5353
# Requirements
5454

55-
* Python (2.7, 3.4, 3.5, 3.6)
56-
* Django (1.11, 2.0)
55+
* Python (2.7, 3.4, 3.5, 3.6, 3.7)
56+
* Django (1.11, 2.0, 2.1)
5757

5858
# Installation
5959

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ continued development by **[signing up for a paid plan][funding]**.
8383

8484
REST framework requires the following:
8585

86-
* Python (2.7, 3.4, 3.5, 3.6)
87-
* Django (1.11, 2.0)
86+
* Python (2.7, 3.4, 3.5, 3.6, 3.7)
87+
* Django (1.11, 2.0, 2.1)
8888

8989
The following packages are optional:
9090

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
33
{py27,py34,py35,py36}-django111,
4-
{py34,py35,py36}-django20,
5-
{py35,py36}-django21
6-
{py35,py36}-djangomaster,
4+
{py34,py35,py36,py37}-django20,
5+
{py35,py36,py37}-django21
6+
{py35,py36,py37}-djangomaster,
77
base,dist,lint,docs,
88

99
[travis:env]

0 commit comments

Comments
 (0)