Added Python 3.9-dev testing to Tox and Travis.

This commit is contained in:
Joe Testa 2020-10-19 18:01:17 -04:00
parent 8fa3a12057
commit 2bb31b306f
2 changed files with 11 additions and 10 deletions

View File

@ -5,6 +5,7 @@ python:
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
cache:
- pip

20
tox.ini
View File

@ -1,7 +1,7 @@
[tox]
envlist =
py{py3}-{test,pylint,flake8,vulture}
py{35,36,37,38}-{test,mypy,pylint,flake8,vulture}
py{35,36,37,38,39}-{test,mypy,pylint,flake8,vulture}
cov
skip_missing_interpreters = true
@ -9,11 +9,11 @@ skip_missing_interpreters = true
deps =
test: pytest<6.0
test,cov: {[testenv:cov]deps}
test,py{35,36,37,38}-{type,mypy}: colorama
py{35,36,37,38}-{type,mypy}: {[testenv:mypy]deps}
py{py3,35,36,37,38}-{lint,pylint},lint: {[testenv:pylint]deps}
py{py3,35,36,37,38}-{lint,flake8},lint: {[testenv:flake8]deps}
py{py3,35,36,37,38}-{lint,vulture},lint: {[testenv:vulture]deps}
test,py{35,36,37,38,39}-{type,mypy}: colorama
py{35,36,37,38,39}-{type,mypy}: {[testenv:mypy]deps}
py{py3,35,36,37,38,39}-{lint,pylint},lint: {[testenv:pylint]deps}
py{py3,35,36,37,38,39}-{lint,flake8},lint: {[testenv:flake8]deps}
py{py3,35,36,37,38,39}-{lint,vulture},lint: {[testenv:vulture]deps}
setenv =
SSHAUDIT = {toxinidir}/src
test: COVERAGE_FILE = {toxinidir}/.coverage.{envname}
@ -25,10 +25,10 @@ commands =
test: coverage combine
test: coverage report --show-missing
test: coverage html -d {toxinidir}/reports/html/coverage.{envname}
py{35,36,37,38}-{type,mypy}: {[testenv:mypy]commands}
py{py3,35,36,37,38}-{lint,pylint},lint: {[testenv:pylint]commands}
py{py3,35,36,37,38}-{lint,flake8},lint: {[testenv:flake8]commands}
py{py3,35,36,37,38}-{lint,vulture},lint: {[testenv:vulture]commands}
py{35,36,37,38,39}-{type,mypy}: {[testenv:mypy]commands}
py{py3,35,36,37,38,39}-{lint,pylint},lint: {[testenv:pylint]commands}
py{py3,35,36,37,38,39}-{lint,flake8},lint: {[testenv:flake8]commands}
py{py3,35,36,37,38,39}-{lint,vulture},lint: {[testenv:vulture]commands}
ignore_outcome =
type: true
lint: true