Update docker dev environment to python3.6 (#7520)

* Update docker dev environment to python3.6

* comment out disable switches again
This commit is contained in:
Marc Egli 2017-05-10 05:16:46 +02:00 committed by Paulus Schoutsen
parent 1eaec8f406
commit 43296069c3
2 changed files with 4 additions and 4 deletions

View file

@ -10,4 +10,4 @@ docker build -t home-assistant-test -f virtualization/Docker/Dockerfile.dev .
docker run --rm \ docker run --rm \
-v `pwd`/.tox/:/usr/src/app/.tox/ \ -v `pwd`/.tox/:/usr/src/app/.tox/ \
-t -i home-assistant-test \ -t -i home-assistant-test \
tox -e py35 tox -e py36

View file

@ -2,7 +2,7 @@
# Based on the production Dockerfile, but with development additions. # Based on the production Dockerfile, but with development additions.
# Keep this file as close as possible to the production Dockerfile, so the environments match. # Keep this file as close as possible to the production Dockerfile, so the environments match.
FROM python:3.5 FROM python:3.6
MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl> MAINTAINER Paulus Schoutsen <Paulus@PaulusSchoutsen.nl>
# Uncomment any of the following lines to disable the installation. # Uncomment any of the following lines to disable the installation.
@ -37,11 +37,11 @@ RUN curl -sL https://deb.nodesource.com/setup_7.x | bash - && \
RUN pip3 install --no-cache-dir tox RUN pip3 install --no-cache-dir tox
# Copy over everything required to run tox # Copy over everything required to run tox
COPY requirements_test.txt setup.cfg setup.py tox.ini ./ COPY requirements_test_all.txt setup.cfg setup.py tox.ini ./
COPY homeassistant/const.py homeassistant/const.py COPY homeassistant/const.py homeassistant/const.py
# Prefetch dependencies for tox # Prefetch dependencies for tox
RUN tox -e py35 --notest RUN tox -e py36 --notest
# END: Development additions # END: Development additions