summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-01-22 20:05:31 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2020-01-22 20:05:31 -0500
commit9c0f5ce5813954f9991a22611f288009bc296577 (patch)
tree0dadf2dc07d8efa4daf2a3746b20e2e1ba558ed7
parent5b19867cf1bd7fbe8a9fea424e67eb8b13c1795d (diff)
downloadcmd2-git-9c0f5ce5813954f9991a22611f288009bc296577.tar.gz
Add support for Python 3.8 release version on all platforms
Also: - Try adding support for 3.9-dev on Travis - Update to running flake8 for 3.8 instead of 3.7
-rw-r--r--.appveyor.yml5
-rw-r--r--.travis.yml8
-rw-r--r--azure-pipelines.yml3
-rw-r--r--tox.ini2
4 files changed, 14 insertions, 4 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index b335fe55..7a29f2a7 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -8,11 +8,14 @@ environment:
PYTHON_VERSION: "3.6.x"
PYTHON_ARCH: "64"
TOXENV: "py36"
-
- PYTHON: "C:\\Miniconda37-x64"
PYTHON_VERSION: "3.7.x"
PYTHON_ARCH: "64"
TOXENV: "py37"
+ - PYTHON: "C:\\Miniconda38-x64"
+ PYTHON_VERSION: "3.8.x"
+ PYTHON_ARCH: "64"
+ TOXENV: "py38"
init:
- "%PYTHON%/python -V"
diff --git a/.travis.yml b/.travis.yml
index 016756fe..7f98a710 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,10 +13,14 @@ matrix:
dist: xenial
env: TOXENV=py37
- os: linux
- python: 3.8-dev
+ python: 3.8
dist: xenial
env: TOXENV=py38
- os: linux
+ python: 3.9-dev
+ dist: xenial
+ env: TOXENV=py39
+ - os: linux
python: 3.5
env: TOXENV=docs
# # Warning: Don't try to use code coverage analysis with pypy as it is insanely slow
@@ -43,7 +47,7 @@ install:
before_script:
# stop the build if there are Python syntax errors or undefined names
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- if [[ $TOXENV == py37 ]]; then
+ if [[ $TOXENV == py38 ]]; then
flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ;
fi
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 9a05153b..bb913210 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -23,6 +23,9 @@ jobs:
Python37:
python.version: '3.7'
TOXENV: 'py37'
+ Python38:
+ python.version: '3.8'
+ TOXENV: 'py38'
# Increase the maxParallel value to simultaneously run the job for all versions in the matrix (max 10 for free open-source)
maxParallel: 4
diff --git a/tox.ini b/tox.ini
index 7363f7df..b9168525 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = docs,py35,py36,py37,py38
+envlist = docs,py35,py36,py37,py38,py39
[pytest]
testpaths = tests