From 839725092540cbe67c5bfbd7d39f58fd0c5ac345 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 26 Feb 2020 00:49:50 +0300 Subject: [PATCH] Tests: Run tests with Python 3.8 --- .travis.yml | 6 ++++-- appveyor.yml | 14 +++++++++++--- setup.py | 1 + tox.ini | 10 ++++++++-- 4 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 649f8bf..da0836a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,10 +21,12 @@ matrix: env: TOXENV=py36 - python: "3.7" env: TOXENV=py37 + - python: "3.8" + env: TOXENV=py38 - python: "2.7" env: TOXENV=py27-flake8 - - python: "3.7" - env: TOXENV=py37-flake8 + - python: "3.8" + env: TOXENV=py38-flake8 install: - travis_retry pip install --upgrade "pip < 19.1" setuptools tox diff --git a/appveyor.yml b/appveyor.yml index 21ee1eb..e598126 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -30,14 +30,22 @@ environment: PYTHON_VERSION: "3.7" PYTHON_ARCH: "64" PYTHON_HOME: "C:\\Python37-x64" + - TOXENV: "py38" + PYTHON_VERSION: "3.8" + PYTHON_ARCH: "32" + PYTHON_HOME: "C:\\Python38" + - TOXENV: "py38" + PYTHON_VERSION: "3.8" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python38-x64" - TOXENV: "py27-flake8" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" PYTHON_HOME: "C:\\Python27" - - TOXENV: "py37-flake8" - PYTHON_VERSION: "3.7" + - TOXENV: "py38-flake8" + PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" - PYTHON_HOME: "C:\\Python37-x64" + PYTHON_HOME: "C:\\Python38-x64" install: # Ensure we use the right python version diff --git a/setup.py b/setup.py index 5a5bd72..050cb6e 100755 --- a/setup.py +++ b/setup.py @@ -51,6 +51,7 @@ setup( 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', ], packages=['ppu'], scripts=[ diff --git a/tox.ini b/tox.ini index 14917d6..6386529 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.8 -envlist = py{27,34,35,36,37}, pypy, py{27,37}-flake8 +envlist = py27,py3{4,5,6,7,8}, pypy, py{27,38}-flake8 # Base test environment settings [testenv] @@ -10,6 +10,7 @@ basepython = py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} py37: {env:TOXPYTHON:python3.7} + py38: {env:TOXPYTHON:python3.8} pypy: {env:TOXPYTHON:pypy} commands = {envpython} --version @@ -46,6 +47,11 @@ commands = {[testenv]commands} {[general]commands} +[testenv:py38] +commands = + {[testenv]commands} + {[general]commands} + [testenv:pypy] commands = {[testenv]commands} @@ -58,7 +64,7 @@ commands = {[testenv]commands} flake8 -[testenv:py37-flake8] +[testenv:py38-flake8] deps = flake8 commands = -- 2.39.2