mirror of
https://github.com/esphome/esphome.git
synced 2024-12-29 17:47:51 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
a676ff23de
commit
6a17fe375e
@ -13,8 +13,7 @@ stages:
|
|||||||
image: esphome/esphome-base-amd64
|
image: esphome/esphome-base-amd64
|
||||||
stage: lint
|
stage: lint
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -e .
|
- script/setup
|
||||||
- pip install flake8==3.6.0 pylint==1.9.4 pillow
|
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
@ -22,7 +21,7 @@ stages:
|
|||||||
image: esphome/esphome-base-amd64
|
image: esphome/esphome-base-amd64
|
||||||
stage: test
|
stage: test
|
||||||
before_script:
|
before_script:
|
||||||
- pip install -e .
|
- script/setup
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
variables:
|
variables:
|
||||||
@ -94,15 +93,11 @@ stages:
|
|||||||
- docker
|
- docker
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
|
||||||
flake8:
|
lint-python:
|
||||||
<<: *lint
|
<<: *lint
|
||||||
script:
|
script:
|
||||||
- flake8 esphome
|
- script/ci-custom.py
|
||||||
|
- script/lint-python
|
||||||
pylint:
|
|
||||||
<<: *lint
|
|
||||||
script:
|
|
||||||
- pylint esphome
|
|
||||||
|
|
||||||
test1:
|
test1:
|
||||||
<<: *test
|
<<: *test
|
||||||
|
Loading…
Reference in New Issue
Block a user