mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 18:09:59 +03:00
dropped python2.7 from tox and travis
This commit is contained in:
parent
9d001cd84c
commit
26b612937c
|
@ -6,7 +6,6 @@ sudo: false
|
|||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- { python: "2.7", env: DJANGO=1.11 }
|
||||
|
||||
- { python: "3.4", env: DJANGO=1.11 }
|
||||
- { python: "3.4", env: DJANGO=2.0 }
|
||||
|
@ -26,8 +25,8 @@ matrix:
|
|||
- { python: "3.7", env: DJANGO=master, dist: xenial, sudo: true }
|
||||
|
||||
- { python: "3.6", env: TOXENV=base }
|
||||
- { python: "2.7", env: TOXENV=lint }
|
||||
- { python: "2.7", env: TOXENV=docs }
|
||||
- { python: "3.6", env: TOXENV=lint }
|
||||
- { python: "3.6", env: TOXENV=docs }
|
||||
|
||||
- python: "3.6"
|
||||
env: TOXENV=dist
|
||||
|
|
6
tox.ini
6
tox.ini
|
@ -1,6 +1,6 @@
|
|||
[tox]
|
||||
envlist =
|
||||
{py27,py34,py35,py36}-django111,
|
||||
{py34,py35,py36}-django111,
|
||||
{py34,py35,py36,py37}-django20,
|
||||
{py35,py36,py37}-django21
|
||||
{py35,py36,py37}-djangomaster,
|
||||
|
@ -41,14 +41,14 @@ deps =
|
|||
-rrequirements/requirements-optionals.txt
|
||||
|
||||
[testenv:lint]
|
||||
basepython = python2.7
|
||||
basepython = python3.6
|
||||
commands = ./runtests.py --lintonly
|
||||
deps =
|
||||
-rrequirements/requirements-codestyle.txt
|
||||
-rrequirements/requirements-testing.txt
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python2.7
|
||||
basepython = python3.6
|
||||
commands = mkdocs build
|
||||
deps =
|
||||
-rrequirements/requirements-testing.txt
|
||||
|
|
Loading…
Reference in New Issue
Block a user