mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-25 11:04:02 +03:00
Bump CI to Python 3.8 (#7008)
This commit is contained in:
parent
a8c86be660
commit
64f567a021
10
.travis.yml
10
.travis.yml
|
@ -21,11 +21,13 @@ matrix:
|
||||||
- { python: "3.7", env: DJANGO=2.2 }
|
- { python: "3.7", env: DJANGO=2.2 }
|
||||||
- { python: "3.7", env: DJANGO=master }
|
- { python: "3.7", env: DJANGO=master }
|
||||||
|
|
||||||
- { python: "3.7", env: TOXENV=base }
|
- { python: "3.8", env: DJANGO=master }
|
||||||
- { python: "3.7", env: TOXENV=lint }
|
|
||||||
- { python: "3.7", env: TOXENV=docs }
|
|
||||||
|
|
||||||
- python: "3.7"
|
- { python: "3.8", env: TOXENV=base }
|
||||||
|
- { python: "3.8", env: TOXENV=lint }
|
||||||
|
- { python: "3.8", env: TOXENV=docs }
|
||||||
|
|
||||||
|
- python: "3.8"
|
||||||
env: TOXENV=dist
|
env: TOXENV=dist
|
||||||
script:
|
script:
|
||||||
- python setup.py bdist_wheel
|
- python setup.py bdist_wheel
|
||||||
|
|
1
setup.py
1
setup.py
|
@ -101,6 +101,7 @@ setup(
|
||||||
'Programming Language :: Python :: 3.5',
|
'Programming Language :: Python :: 3.5',
|
||||||
'Programming Language :: Python :: 3.6',
|
'Programming Language :: Python :: 3.6',
|
||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: 3 :: Only',
|
'Programming Language :: Python :: 3 :: Only',
|
||||||
'Topic :: Internet :: WWW/HTTP',
|
'Topic :: Internet :: WWW/HTTP',
|
||||||
],
|
],
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -4,7 +4,7 @@ envlist =
|
||||||
{py35,py36,py37}-django20,
|
{py35,py36,py37}-django20,
|
||||||
{py35,py36,py37}-django21
|
{py35,py36,py37}-django21
|
||||||
{py35,py36,py37}-django22
|
{py35,py36,py37}-django22
|
||||||
{py36,py37}-djangomaster,
|
{py36,py37,py38}-djangomaster,
|
||||||
base,dist,lint,docs,
|
base,dist,lint,docs,
|
||||||
|
|
||||||
[travis:env]
|
[travis:env]
|
||||||
|
@ -44,14 +44,12 @@ deps =
|
||||||
-rrequirements/requirements-optionals.txt
|
-rrequirements/requirements-optionals.txt
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
basepython = python3.7
|
|
||||||
commands = ./runtests.py --lintonly
|
commands = ./runtests.py --lintonly
|
||||||
deps =
|
deps =
|
||||||
-rrequirements/requirements-codestyle.txt
|
-rrequirements/requirements-codestyle.txt
|
||||||
-rrequirements/requirements-testing.txt
|
-rrequirements/requirements-testing.txt
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
basepython = python3.7
|
|
||||||
skip_install = true
|
skip_install = true
|
||||||
commands = mkdocs build
|
commands = mkdocs build
|
||||||
deps =
|
deps =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user