mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 22:48:10 +01:00
20 lines
483 B
YAML
20 lines
483 B
YAML
sudo: false
|
|
language: python
|
|
python:
|
|
- "2.7"
|
|
jobs:
|
|
include:
|
|
- name: "Lint"
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install flake8==3.5.0 pylint==1.9.3 tzlocal pillow
|
|
script:
|
|
- flake8 esphomeyaml
|
|
- pylint esphomeyaml
|
|
- name: "Test"
|
|
install:
|
|
- pip install -e .
|
|
- pip install tzlocal pillow
|
|
script:
|
|
- esphomeyaml tests/test1.yaml compile
|
|
- esphomeyaml tests/test2.yaml compile
|