Skip to content

Commit b537bb9

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

File tree

4 files changed

+14
-9
lines changed

4 files changed

+14
-9
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
language: python
22
cache: pip
33

4-
sudo: false
4+
# Necessary for 3.7 support. Remove dist and switch back to sudo: false.
5+
dist: xenial
6+
sudo: true
57

68
matrix:
79
fast_finish: true
@@ -21,6 +23,10 @@ matrix:
2123
- { python: "3.6", env: DJANGO=2.1 }
2224
- { python: "3.6", env: DJANGO=master }
2325

26+
- { python: "3.7", env: DJANGO=2.0 }
27+
- { python: "3.7", env: DJANGO=2.1 }
28+
- { python: "3.7", env: DJANGO=master }
29+
2430
- { python: "3.6", env: TOXENV=base }
2531
- { python: "2.7", env: TOXENV=lint }
2632
- { python: "2.7", env: TOXENV=docs }
@@ -35,7 +41,6 @@ matrix:
3541

3642
allow_failures:
3743
- env: DJANGO=master
38-
- env: DJANGO=2.1
3944

4045
install:
4146
- 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)