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 language: python
python: "3.7" python: "3.7"
before_install: jobs:
- pip install pylint coverage mypy lxml include:
- pip install -e . - stage: code quality
- mypy . --txt-report . --scripts-are-modules; cat index.txt; rm index.txt name: "mypy"
before_install:
- pip install mypy lxml
- pip install -e .
script: script:
- HOME=/tmp coverage run --source=aioupnp -m unittest -v - mypy . --txt-report . --scripts-are-modules; cat index.txt; rm index.txt
after_success: - &tests
- bash <(curl -s https://codecov.io/bash) 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"