2018-04-10 17:17:46 +02:00
|
|
|
sudo: false
|
|
|
|
language: python
|
2019-01-02 14:11:11 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
2018-09-28 19:34:28 +02:00
|
|
|
include:
|
2019-01-02 14:11:11 +01:00
|
|
|
- python: "2.7"
|
|
|
|
env: TARGET=Lint2.7
|
2019-01-06 09:48:03 +01:00
|
|
|
install: pip install -e . && pip install flake8==3.6.0 pylint==1.9.4 pillow
|
2018-09-28 19:34:28 +02:00
|
|
|
script:
|
2019-02-13 16:54:02 +01:00
|
|
|
- flake8 esphome
|
|
|
|
- pylint esphome
|
2019-01-02 14:11:11 +01:00
|
|
|
- python: "3.5.3"
|
|
|
|
env: TARGET=Lint3.5
|
2019-01-06 09:48:03 +01:00
|
|
|
install: pip install -U https://github.com/platformio/platformio-core/archive/develop.zip && pip install -e . && pip install flake8==3.6.0 pylint==2.2.2 pillow
|
2019-01-02 14:11:11 +01:00
|
|
|
script:
|
2019-02-13 16:54:02 +01:00
|
|
|
- flake8 esphome
|
|
|
|
- pylint esphome
|
2019-01-02 14:11:11 +01:00
|
|
|
- python: "2.7"
|
|
|
|
env: TARGET=Test2.7
|
2019-01-06 09:48:03 +01:00
|
|
|
install: pip install -e . && pip install flake8==3.6.0 pylint==1.9.4 pillow
|
2019-01-02 14:11:11 +01:00
|
|
|
script:
|
2019-02-13 16:54:02 +01:00
|
|
|
- esphome tests/test1.yaml compile
|
|
|
|
- esphome tests/test2.yaml compile
|
|
|
|
- esphome tests/test3.yaml compile
|
2019-01-29 17:46:02 +01:00
|
|
|
#- python: "3.5.3"
|
|
|
|
# env: TARGET=Test3.5
|
|
|
|
# install: pip install -U https://github.com/platformio/platformio-core/archive/develop.zip && pip install -e . && pip install flake8==3.6.0 pylint==2.2.2 pillow
|
|
|
|
# script:
|
2019-02-13 16:54:02 +01:00
|
|
|
# - esphome tests/test1.yaml compile
|
|
|
|
# - esphome tests/test2.yaml compile
|