mirror of
https://github.com/caronc/apprise-api.git
synced 2025-01-05 21:48:59 +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:
|
||||
**Related issue (if applicable):** fixes #<!--apprise issue number goes here-->
|
||||
**Related issue (if applicable):** refs #<!--apprise issue number goes here-->
|
||||
|
||||
## Checklist
|
||||
<!-- The following must be completed or your PR can't be merged -->
|
||||
* [ ] The code change is tested and works locally.
|
||||
* [ ] There is no commented out code in this PR.
|
||||
* [ ] No lint errors (use `flake8`)
|
||||
* [ ] tests added
|
||||
* [ ] Tests added
|
||||
|
@ -1,13 +1,11 @@
|
||||
language: python
|
||||
|
||||
dist: xenial
|
||||
dist: focal
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- python: "3.7"
|
||||
env: TOXENV=py37
|
||||
- python: "3.8"
|
||||
env: TOXENV=py38
|
||||
- python: "3.10"
|
||||
env: TOXENV=py310
|
||||
|
||||
install:
|
||||
- pip install codecov
|
||||
|
@ -1,5 +1,5 @@
|
||||
ARG ARCH
|
||||
FROM ${ARCH}python:3.8-slim
|
||||
FROM ${ARCH}python:3.10-slim
|
||||
|
||||
# set version label
|
||||
ARG BUILD_DATE
|
||||
|
12
tox.ini
12
tox.ini
@ -1,5 +1,5 @@
|
||||
[tox]
|
||||
envlist = py37,py38,coverage-report
|
||||
envlist = py310,coverage-report
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
@ -14,15 +14,7 @@ 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]
|
||||
[testenv:py310]
|
||||
deps=
|
||||
-r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/dev-requirements.txt
|
||||
|
Loading…
Reference in New Issue
Block a user