mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-04 20:09:35 +02:00
Support for Python 3 (#702)
* Support for Python 3 * Add later Python releases * Remove Python 3.6 * Re-enable Python 2.7 * Remove platformio-core zip archive * Re-enable Python 2.7 * Fixes for python 3 Co-Authored-By: C W <fake-name@users.noreply.github.com>
This commit is contained in:
committed by
Otto Winter
parent
1bf55c130b
commit
7a43231c43
+9
-3
@@ -1,6 +1,6 @@
|
||||
sudo: false
|
||||
language: python
|
||||
python: '2.7'
|
||||
python: '3.5'
|
||||
install: script/setup
|
||||
cache:
|
||||
directories:
|
||||
@@ -9,8 +9,8 @@ cache:
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- python: "2.7"
|
||||
env: TARGET=Lint2.7
|
||||
- python: "3.7"
|
||||
env: TARGET=Lint3.7
|
||||
script:
|
||||
- script/ci-custom.py
|
||||
- flake8 esphome
|
||||
@@ -21,6 +21,12 @@ matrix:
|
||||
- script/ci-custom.py
|
||||
- flake8 esphome
|
||||
- pylint esphome
|
||||
- python: "3.5"
|
||||
env: TARGET=Test3.5
|
||||
script:
|
||||
- esphome tests/test1.yaml compile
|
||||
- esphome tests/test2.yaml compile
|
||||
- esphome tests/test3.yaml compile
|
||||
- python: "2.7"
|
||||
env: TARGET=Test2.7
|
||||
script:
|
||||
|
||||
Reference in New Issue
Block a user