tox: Bump our Python versions.

This commit is contained in:
Damir Jelić 2020-12-02 12:43:20 +01:00
parent 726e96944d
commit 5b1e220f5e
3 changed files with 13 additions and 13 deletions

View File

@ -16,14 +16,14 @@ before_install:
matrix:
include:
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- python: 3.7
- python: 3.8
env: TOXENV=py38
- python: 3.9
env: TOXENV=py39
- python: 3.9
env: TOXENV=coverage
install: pip install tox-travis PyGObject dbus-python aioresponses
install: pip install tox-travis aioresponses
script: tox
after_success:

View File

@ -27,14 +27,14 @@ setup(
"peewee >= 3.13.1",
"janus >= 0.5",
"cachetools >= 3.0.0",
"prompt_toolkit>2<4",
"prompt_toolkit > 2, < 4",
"typing;python_version<'3.5'",
"matrix-nio[e2e] >= 0.14, < 0.16"
],
extras_require={
"ui": [
"dbus-python >= 1.2, < 1.3",
"PyGObject >= 3.36, < 3.37",
"PyGObject >= 3.36, < 3.39",
"pydbus >= 0.6, < 0.7",
"notify2 >= 0.3, < 0.4",
]

10
tox.ini
View File

@ -1,11 +1,11 @@
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist = py36,py37,coverage
envlist = py38,py39,coverage
[testenv]
basepython =
py36: python3.6
py37: python3.7
py3: python3.7
py38: python3.8
py39: python3.9
py3: python3.9
deps = -rtest-requirements.txt
install_command = pip install {opts} {packages}
@ -15,7 +15,7 @@ commands = pytest
usedevelop = True
[testenv:coverage]
basepython = python3.7
basepython = python3.9
commands =
pytest --cov=pantalaimon --cov-report term-missing
coverage xml