Add support for Python 3.8

This commit is contained in:
Hugo
2019-11-09 16:45:40 +02:00
parent cd26963678
commit 20532ec93c
4 changed files with 17 additions and 13 deletions

View File

@@ -30,8 +30,8 @@ jobs:
cache: cache:
directories: directories:
- $HOME/.cache/pre-commit - $HOME/.cache/pre-commit
- python: '3.7' - python: '3.8'
env: TOXENV=py37-pytestlatest env: TOXENV=py38-pytestlatest
- python: '2.7' - python: '2.7'
env: TOXENV=py27-pytestlatest env: TOXENV=py27-pytestlatest
@@ -43,12 +43,14 @@ jobs:
- python: "3.6" - python: "3.6"
env: TOXENV=py36-pytestlatest env: TOXENV=py36-pytestlatest
- python: "3.7" - python: "3.7"
env: TOXENV=py37-pytestmaster env: TOXENV=py37-pytestlatest
- python: "3.7" - python: "3.8"
env: TOXENV=py37-pytestfeatures env: TOXENV=py38-pytestmaster
- python: "3.8"
env: TOXENV=py38-pytestfeatures
- stage: deploy - stage: deploy
python: '3.7' python: '3.8'
env: env:
install: pip install -U setuptools setuptools_scm install: pip install -U setuptools setuptools_scm
script: skip script: skip

View File

@@ -5,17 +5,18 @@ environment:
- TOXENV: "py35-pytestlatest" - TOXENV: "py35-pytestlatest"
- TOXENV: "py36-pytestlatest" - TOXENV: "py36-pytestlatest"
- TOXENV: "py37-pytestlatest" - TOXENV: "py37-pytestlatest"
- TOXENV: "py37-pytestmaster" - TOXENV: "py38-pytestlatest"
- TOXENV: "py37-pytestfeatures" - TOXENV: "py38-pytestmaster"
- TOXENV: "py38-pytestfeatures"
install: install:
- C:\Python37\python -m pip install -U pip setuptools - C:\Python38\python -m pip install -U pip setuptools
- C:\Python37\python -m pip install -U tox setuptools_scm - C:\Python38\python -m pip install -U tox setuptools_scm
build: false # Not a C# project, build stuff at the test step instead. build: false # Not a C# project, build stuff at the test step instead.
test_script: test_script:
- C:\Python37\python -m tox - C:\Python38\python -m tox
# We don't deploy anything on tags with AppVeyor, we use Travis instead, so we # We don't deploy anything on tags with AppVeyor, we use Travis instead, so we
# might as well save resources # might as well save resources

View File

@@ -46,5 +46,6 @@ 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",
], ],
) )

View File

@@ -1,8 +1,8 @@
[tox] [tox]
envlist= envlist=
linting linting
py{27,34,35,36,37}-pytestlatest py{27,34,35,36,37,38}-pytestlatest
py37-pytest{master,features} py38-pytest{master,features}
[testenv] [testenv]
passenv = USER USERNAME passenv = USER USERNAME