Fix docker installs using old platformio version (#125)

* Fix min platformio version and update requirements

* Remove unnecessary requirements from travis
This commit is contained in:
Otto Winter 2018-09-27 01:14:51 +09:00 committed by GitHub
parent 5e5137960d
commit ab6d293d0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 15 deletions

View File

@ -4,7 +4,7 @@ python:
- "2.7"
install:
- pip install -r requirements.txt
- pip install tornado esptool flake8==3.5.0 pylint==1.8.4 tzlocal pillow
- pip install flake8==3.5.0 pylint==1.9.3 tzlocal pillow
script:
- flake8 esphomeyaml
- pylint esphomeyaml

View File

@ -10,17 +10,13 @@ EXPOSE 6123
VOLUME /config
WORKDIR /usr/src/app
COPY requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt && \
pip install --no-cache-dir tornado esptool
COPY docker/platformio.ini /usr/src/app/
RUN platformio settings set enable_telemetry No && \
platformio run -e espressif32 -e espressif8266; exit 0
COPY . .
RUN pip install --no-cache-dir -e . && \
pip install --no-cache-dir tzlocal
pip install --no-cache-dir tzlocal pillow
WORKDIR /config
ENTRYPOINT ["esphomeyaml"]

View File

@ -3,4 +3,4 @@ FROM python:2.7
COPY requirements.txt /requirements.txt
RUN pip install -r /requirements.txt && \
pip install flake8==3.5.0 pylint==1.8.4 tzlocal pillow
pip install flake8==3.5.0 pylint==1.9.3 tzlocal pillow

View File

@ -1,7 +1,7 @@
voluptuous==0.11.1
platformio==3.5.2
pyyaml==3.12
paho-mqtt==1.3.1
colorlog==3.1.2
tornado==5.0.2
esptool==2.3.1
voluptuous>=0.11.1
platformio>=3.5.3
pyyaml>=3.12
paho-mqtt>=1.3.1
colorlog>=3.1.2
tornado>=5.0.0
esptool>=2.3.1

View File

@ -23,7 +23,7 @@ DOWNLOAD_URL = '{}/archive/{}.zip'.format(GITHUB_URL, const.__version__)
REQUIRES = [
'voluptuous>=0.11.1',
'platformio>=3.5.2',
'platformio>=3.5.3',
'pyyaml>=3.12',
'paho-mqtt>=1.3.1',
'colorlog>=3.1.2',