Fix Travis CI Build Process (#77)

This commit is contained in:
Chris Caron 2022-05-29 16:26:18 -04:00 committed by GitHub
parent 3db7b029c1
commit 01f7b65d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 18 deletions

View File

@ -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

View File

@ -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

View File

@ -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
View File

@ -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