mirror of
https://github.com/esphome/esphome.git
synced 2024-09-07 00:59:08 +02:00
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
sudo: false
|
|
language: python
|
|
|
|
cache:
|
|
directories:
|
|
- "~/.platformio"
|
|
- "$TRAVIS_BUILD_DIR/tests/build/test1/.piolibdeps"
|
|
- "$TRAVIS_BUILD_DIR/tests/build/test2/.piolibdeps"
|
|
- "$TRAVIS_BUILD_DIR/tests/build/test3/.piolibdeps"
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- python: "2.7"
|
|
env: TARGET=Lint2.7
|
|
install: pip install -e . && pip install flake8==3.6.0 pylint==1.9.4 pillow
|
|
script:
|
|
- flake8 esphome
|
|
- pylint esphome
|
|
- python: "3.5.3"
|
|
env: TARGET=Lint3.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.3.0 pillow
|
|
script:
|
|
- flake8 esphome
|
|
- pylint esphome
|
|
- python: "2.7"
|
|
env: TARGET=Test2.7
|
|
install: pip install -e . && pip install flake8==3.6.0 pylint==1.9.4 pillow
|
|
script:
|
|
- esphome tests/test1.yaml compile
|
|
- esphome tests/test2.yaml compile
|
|
- esphome tests/test3.yaml compile
|
|
#- 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.3.0 pillow
|
|
# script:
|
|
# - esphome tests/test1.yaml compile
|
|
# - esphome tests/test2.yaml compile
|