mirror of
https://github.com/caronc/apprise-api.git
synced 2024-11-08 01:04:38 +01:00
63 lines
1.7 KiB
INI
63 lines
1.7 KiB
INI
|
[tox]
|
||
|
envlist = py34,py35,py36,py37,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:py34]
|
||
|
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: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
|