mirror of
https://github.com/caronc/apprise-api.git
synced 2025-01-07 06:29:43 +01:00
Fix Travis CI Build Process (#77)
This commit is contained in:
parent
3db7b029c1
commit
01f7b65d52
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
@ -1,9 +1,9 @@
|
|||||||
## Description:
|
## Description:
|
||||||
**Related issue (if applicable):** fixes #<!--apprise issue number goes here-->
|
**Related issue (if applicable):** refs #<!--apprise issue number goes here-->
|
||||||
|
|
||||||
## Checklist
|
## Checklist
|
||||||
<!-- The following must be completed or your PR can't be merged -->
|
<!-- The following must be completed or your PR can't be merged -->
|
||||||
* [ ] The code change is tested and works locally.
|
* [ ] The code change is tested and works locally.
|
||||||
* [ ] There is no commented out code in this PR.
|
* [ ] There is no commented out code in this PR.
|
||||||
* [ ] No lint errors (use `flake8`)
|
* [ ] No lint errors (use `flake8`)
|
||||||
* [ ] tests added
|
* [ ] Tests added
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
language: python
|
language: python
|
||||||
|
|
||||||
dist: xenial
|
dist: focal
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- python: "3.7"
|
- python: "3.10"
|
||||||
env: TOXENV=py37
|
env: TOXENV=py310
|
||||||
- python: "3.8"
|
|
||||||
env: TOXENV=py38
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install codecov
|
- pip install codecov
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ARG ARCH
|
ARG ARCH
|
||||||
FROM ${ARCH}python:3.8-slim
|
FROM ${ARCH}python:3.10-slim
|
||||||
|
|
||||||
# set version label
|
# set version label
|
||||||
ARG BUILD_DATE
|
ARG BUILD_DATE
|
||||||
|
12
tox.ini
12
tox.ini
@ -1,5 +1,5 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py37,py38,coverage-report
|
envlist = py310,coverage-report
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
@ -14,15 +14,7 @@ commands =
|
|||||||
coverage run --parallel -m pytest {posargs} apprise_api
|
coverage run --parallel -m pytest {posargs} apprise_api
|
||||||
flake8 apprise_api --count --show-source --statistics
|
flake8 apprise_api --count --show-source --statistics
|
||||||
|
|
||||||
[testenv:py37]
|
[testenv:py310]
|
||||||
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=
|
deps=
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/dev-requirements.txt
|
-r{toxinidir}/dev-requirements.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user