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:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: 3.6
|
- python: 3.8
|
||||||
env: TOXENV=py36
|
env: TOXENV=py38
|
||||||
- python: 3.7
|
- python: 3.9
|
||||||
env: TOXENV=py37
|
env: TOXENV=py39
|
||||||
- python: 3.7
|
- python: 3.9
|
||||||
env: TOXENV=coverage
|
env: TOXENV=coverage
|
||||||
|
|
||||||
install: pip install tox-travis PyGObject dbus-python aioresponses
|
install: pip install tox-travis aioresponses
|
||||||
script: tox
|
script: tox
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
4
setup.py
4
setup.py
@ -27,14 +27,14 @@ setup(
|
|||||||
"peewee >= 3.13.1",
|
"peewee >= 3.13.1",
|
||||||
"janus >= 0.5",
|
"janus >= 0.5",
|
||||||
"cachetools >= 3.0.0",
|
"cachetools >= 3.0.0",
|
||||||
"prompt_toolkit>2<4",
|
"prompt_toolkit > 2, < 4",
|
||||||
"typing;python_version<'3.5'",
|
"typing;python_version<'3.5'",
|
||||||
"matrix-nio[e2e] >= 0.14, < 0.16"
|
"matrix-nio[e2e] >= 0.14, < 0.16"
|
||||||
],
|
],
|
||||||
extras_require={
|
extras_require={
|
||||||
"ui": [
|
"ui": [
|
||||||
"dbus-python >= 1.2, < 1.3",
|
"dbus-python >= 1.2, < 1.3",
|
||||||
"PyGObject >= 3.36, < 3.37",
|
"PyGObject >= 3.36, < 3.39",
|
||||||
"pydbus >= 0.6, < 0.7",
|
"pydbus >= 0.6, < 0.7",
|
||||||
"notify2 >= 0.3, < 0.4",
|
"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
|
# content of: tox.ini , put in same dir as setup.py
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py36,py37,coverage
|
envlist = py38,py39,coverage
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython =
|
basepython =
|
||||||
py36: python3.6
|
py38: python3.8
|
||||||
py37: python3.7
|
py39: python3.9
|
||||||
py3: python3.7
|
py3: python3.9
|
||||||
|
|
||||||
deps = -rtest-requirements.txt
|
deps = -rtest-requirements.txt
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
@ -15,7 +15,7 @@ commands = pytest
|
|||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
|
||||||
[testenv:coverage]
|
[testenv:coverage]
|
||||||
basepython = python3.7
|
basepython = python3.9
|
||||||
commands =
|
commands =
|
||||||
pytest --cov=pantalaimon --cov-report term-missing
|
pytest --cov=pantalaimon --cov-report term-missing
|
||||||
coverage xml
|
coverage xml
|
||||||
|
Loading…
Reference in New Issue
Block a user