Add Python 3.7 to CI

This commit is contained in:
Ryan P Kilby 2018-08-24 16:07:11 -07:00 committed by Ryan P Kilby
parent 612a7b989f
commit d9fd46238f
4 changed files with 18 additions and 14 deletions

View File

@ -21,6 +21,11 @@ matrix:
- { python: "3.6", env: DJANGO=1.11 } - { python: "3.6", env: DJANGO=1.11 }
- { python: "3.6", env: DJANGO=2.0 } - { python: "3.6", env: DJANGO=2.0 }
- { python: "3.6", env: DJANGO=2.1 } - { python: "3.6", env: DJANGO=2.1 }
- { python: "3.7", env: DJANGO=2.0, dist: xenial, sudo: true }
- { python: "3.7", env: DJANGO=2.1, dist: xenial, sudo: true }
- { python: "3.7", env: DJANGO=master, dist: xenial, sudo: true }
- { python: "3.6", env: TOXENV=base } - { python: "3.6", env: TOXENV=base }
- { python: "2.7", env: TOXENV=lint } - { python: "2.7", env: TOXENV=lint }
- { python: "2.7", env: TOXENV=docs } - { python: "2.7", env: TOXENV=docs }
@ -42,7 +47,6 @@ matrix:
allow_failures: allow_failures:
- env: DJANGO=master - env: DJANGO=master
- env: DJANGO=2.1
install: install:
- pip install tox tox-venv tox-travis - pip install tox tox-venv tox-travis

View File

@ -52,7 +52,7 @@ There is a live example API for testing purposes, [available here][sandbox].
# Requirements # Requirements
* Python (2.7, 3.4, 3.5, 3.6) * Python (2.7, 3.4, 3.5, 3.6, 3.7)
* Django (1.11, 2.0, 2.1) * Django (1.11, 2.0, 2.1)
# Installation # Installation

View File

@ -83,7 +83,7 @@ continued development by **[signing up for a paid plan][funding]**.
REST framework requires the following: REST framework requires the following:
* Python (2.7, 3.4, 3.5, 3.6) * Python (2.7, 3.4, 3.5, 3.6, 3.7)
* Django (1.11, 2.0, 2.1) * Django (1.11, 2.0, 2.1)
The following packages are optional: The following packages are optional:

View File

@ -1,9 +1,9 @@
[tox] [tox]
envlist = envlist =
{py27,py34,py35,py36}-django111, {py27,py34,py35,py36}-django111,
{py34,py35,py36}-django20, {py34,py35,py36,py37}-django20,
{py35,py36}-django21 {py35,py36,py37}-django21
{py35,py36}-djangomaster, {py35,py36,py37}-djangomaster,
base,dist,lint,docs, base,dist,lint,docs,
[travis:env] [travis:env]