Update .gitlab-ci.yml

This commit is contained in:
Otto Winter 2019-05-27 21:55:54 +02:00
parent a676ff23de
commit 6a17fe375e
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -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