test python 3.6
This commit is contained in:
parent
99fa1957b9
commit
5d129fdf98
1 changed files with 25 additions and 8 deletions
25
.travis.yml
25
.travis.yml
|
@ -3,13 +3,30 @@ dist: xenial
|
|||
language: python
|
||||
python: "3.7"
|
||||
|
||||
before_install:
|
||||
- pip install pylint coverage mypy lxml
|
||||
jobs:
|
||||
include:
|
||||
- stage: code quality
|
||||
name: "mypy"
|
||||
before_install:
|
||||
- pip install mypy lxml
|
||||
- pip install -e .
|
||||
|
||||
script:
|
||||
- mypy . --txt-report . --scripts-are-modules; cat index.txt; rm index.txt
|
||||
|
||||
script:
|
||||
- &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:
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
- <<: *tests
|
||||
name: "Unit Tests w/ Python 3.6"
|
||||
python: "3.6"
|
||||
|
|
Loading…
Reference in a new issue