Update .travis.yml (#21736)

* Update .travis.yml

* Update tox.ini

* Update main.workflow

* Update tox.ini
This commit is contained in:
Pascal Vizeli 2019-03-07 14:40:18 +01:00 committed by GitHub
parent ba70459e1e
commit 02bcf46053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 15 deletions

10
.github/main.workflow vendored
View File

@ -20,9 +20,7 @@ action "Python 3.6 - tests" {
workflow "Python 3.5 - tox" { workflow "Python 3.5 - tox" {
on = "push" on = "push"
resolves = [ resolves = ["Pyton 3.5 - typing"]
"Pyton 3.5 - typing,cov",
]
} }
action "Python 3.5 - tests" { action "Python 3.5 - tests" {
@ -33,11 +31,11 @@ action "Python 3.5 - tests" {
action "Python 3.5 - lints" { action "Python 3.5 - lints" {
uses = "home-assistant/actions/py35-tox@master" uses = "home-assistant/actions/py35-tox@master"
needs = ["Python 3.5 - tests"] needs = ["Python 3.5 - tests"]
args = "-e lint,pylint -p auto --parallel-live" args = "-e lint"
} }
action "Pyton 3.5 - typing,cov" { action "Pyton 3.5 - typing" {
uses = "home-assistant/actions/py35-tox@master" uses = "home-assistant/actions/py35-tox@master"
args = "-e typing,cov -p auto --parallel-live" args = "-e typing"
needs = ["Python 3.5 - lints"] needs = ["Python 3.5 - lints"]
} }

View File

@ -6,20 +6,11 @@ addons:
matrix: matrix:
fast_finish: true fast_finish: true
include: include:
- python: "3.5.3"
env: TOXENV=lint
- python: "3.5.3" - python: "3.5.3"
env: TOXENV=pylint env: TOXENV=pylint
- python: "3.5.3"
env: TOXENV=typing
- python: "3.5.3" - python: "3.5.3"
env: TOXENV=cov env: TOXENV=cov
after_success: coveralls after_success: coveralls
- python: "3.6"
env: TOXENV=py36
- python: "3.7"
env: TOXENV=py37
dist: xenial
- python: "3.8-dev" - python: "3.8-dev"
env: TOXENV=py38 env: TOXENV=py38
dist: xenial dist: xenial