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:
Fabian Affolter
2019-10-18 20:21:16 +05:30
committed by Otto Winter
parent 1bf55c130b
commit 7a43231c43
3 changed files with 13 additions and 5 deletions
+9 -3
View File
@@ -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: