Removed Python 3.5 support. Added ARM64 testing in Travis.

This commit is contained in:
Joe Testa 2021-01-20 15:58:48 -05:00
parent a4c78512d8
commit d9a4b49560
2 changed files with 12 additions and 12 deletions

View File

@ -1,11 +1,11 @@
language: python language: python
arch: arch:
- arm64
- amd64 - amd64
- ppc64le - ppc64le
python: python:
- "3.5"
- "3.6" - "3.6"
- "3.7" - "3.7"
- "3.8" - "3.8"

20
tox.ini
View File

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