mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
tox: Bump our Python versions.
This commit is contained in:
parent
726e96944d
commit
5b1e220f5e
12
.travis.yml
12
.travis.yml
@ -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:
|
||||
|
4
setup.py
4
setup.py
@ -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
10
tox.ini
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user