mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
Enable Travis Tests (#133)
This commit is contained in:
parent
d3f2fab88a
commit
ffb793177a
1 changed files with 16 additions and 6 deletions
22
.travis.yml
22
.travis.yml
|
@ -2,9 +2,19 @@ sudo: false
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
install:
|
jobs:
|
||||||
- pip install -r requirements.txt
|
include:
|
||||||
- pip install flake8==3.5.0 pylint==1.9.3 tzlocal pillow
|
- name: "Lint"
|
||||||
script:
|
install:
|
||||||
- flake8 esphomeyaml
|
- pip install -r requirements.txt
|
||||||
- pylint esphomeyaml
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue