Bump CI to Python 3.8 (#7008)

This commit is contained in:
Bastien Vallet 2019-10-22 23:39:01 +02:00 committed by Ryan P Kilby
parent a8c86be660
commit 64f567a021
3 changed files with 8 additions and 7 deletions

View File

@ -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

View File

@ -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',
], ],

View File

@ -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 =