Update .travis.yml (#21736)
* Update .travis.yml * Update tox.ini * Update main.workflow * Update tox.inipull/21746/head
parent
ba70459e1e
commit
02bcf46053
|
@ -20,9 +20,7 @@ action "Python 3.6 - tests" {
|
|||
|
||||
workflow "Python 3.5 - tox" {
|
||||
on = "push"
|
||||
resolves = [
|
||||
"Pyton 3.5 - typing,cov",
|
||||
]
|
||||
resolves = ["Pyton 3.5 - typing"]
|
||||
}
|
||||
|
||||
action "Python 3.5 - tests" {
|
||||
|
@ -33,11 +31,11 @@ action "Python 3.5 - tests" {
|
|||
action "Python 3.5 - lints" {
|
||||
uses = "home-assistant/actions/py35-tox@master"
|
||||
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"
|
||||
args = "-e typing,cov -p auto --parallel-live"
|
||||
args = "-e typing"
|
||||
needs = ["Python 3.5 - lints"]
|
||||
}
|
||||
|
|
|
@ -6,20 +6,11 @@ addons:
|
|||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- python: "3.5.3"
|
||||
env: TOXENV=lint
|
||||
- python: "3.5.3"
|
||||
env: TOXENV=pylint
|
||||
- python: "3.5.3"
|
||||
env: TOXENV=typing
|
||||
- python: "3.5.3"
|
||||
env: TOXENV=cov
|
||||
after_success: coveralls
|
||||
- python: "3.6"
|
||||
env: TOXENV=py36
|
||||
- python: "3.7"
|
||||
env: TOXENV=py37
|
||||
dist: xenial
|
||||
- python: "3.8-dev"
|
||||
env: TOXENV=py38
|
||||
dist: xenial
|
||||
|
|
Loading…
Reference in New Issue