mirror of
https://github.com/caronc/apprise-api.git
synced 2024-11-07 16:54:10 +01:00
63 lines
1.7 KiB
INI
63 lines
1.7 KiB
INI
[tox]
|
|
envlist = py35,py36,py37,py38,pypy3,coverage-report
|
|
skipsdist = true
|
|
|
|
[testenv]
|
|
# Prevent random setuptools/pip breakages like
|
|
# https://github.com/pypa/setuptools/issues/1042 from breaking our builds.
|
|
setenv =
|
|
VIRTUALENV_NO_DOWNLOAD=1
|
|
deps=
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/dev-requirements.txt
|
|
commands =
|
|
coverage run --parallel -m pytest {posargs} apprise_api
|
|
flake8 apprise_api --count --show-source --statistics
|
|
|
|
[testenv:py35]
|
|
deps=
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/dev-requirements.txt
|
|
commands =
|
|
coverage run --parallel -m pytest {posargs} apprise_api
|
|
flake8 apprise_api --count --show-source --statistics
|
|
|
|
[testenv:py36]
|
|
deps=
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/dev-requirements.txt
|
|
commands =
|
|
coverage run --parallel -m pytest {posargs} apprise_api
|
|
flake8 apprise_api --count --show-source --statistics
|
|
|
|
[testenv:py37]
|
|
deps=
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/dev-requirements.txt
|
|
commands =
|
|
coverage run --parallel -m pytest {posargs} apprise_api
|
|
flake8 apprise_api --count --show-source --statistics
|
|
|
|
[testenv:py38]
|
|
deps=
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/dev-requirements.txt
|
|
commands =
|
|
coverage run --parallel -m pytest {posargs} apprise_api
|
|
flake8 apprise_api --count --show-source --statistics
|
|
|
|
[testenv:pypy3]
|
|
deps=
|
|
-r{toxinidir}/requirements.txt
|
|
-r{toxinidir}/dev-requirements.txt
|
|
commands =
|
|
coverage run --parallel -m pytest {posargs} apprise_api
|
|
flake8 apprise_api --count --show-source --statistics
|
|
|
|
[testenv:coverage-report]
|
|
deps = coverage
|
|
skip_install = true
|
|
commands=
|
|
coverage combine apprise_api
|
|
coverage report apprise_api
|