test python 3.6

This commit is contained in:
Jack Robison 2018-10-17 22:38:17 -04:00
parent 99fa1957b9
commit 5d129fdf98
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -3,13 +3,30 @@ dist: xenial
language: python
python: "3.7"
jobs:
include:
- stage: code quality
name: "mypy"
before_install:
- pip install pylint coverage mypy lxml
- pip install mypy lxml
- pip install -e .
script:
- mypy . --txt-report . --scripts-are-modules; cat index.txt; rm index.txt
- &tests
stage: test
name: "Unit Tests w/ Python 3.7"
before_install:
- pip install pylint coverage
- pip install -e .
script:
- HOME=/tmp coverage run --source=aioupnp -m unittest -v
after_success:
- bash <(curl -s https://codecov.io/bash)
- <<: *tests
name: "Unit Tests w/ Python 3.6"
python: "3.6"