From 93448e504f1d7dd2b720e48448d24de48c82b6d8 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Thu, 1 Jun 2017 15:24:46 +0200 Subject: [PATCH] test conf hass --- .gitlab-ci.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1fe7915..ec0a499 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,7 +10,6 @@ inocode: - apt update - apt -y install xvfb - Xvfb :1 -nolisten tcp -screen :1 1280x800x24 & -# - xvfb="$!" - export DISPLAY=":1" - cd / - wget --quiet "https://downloads.arduino.cc/arduino-1.8.2-linux64.tar.xz" @@ -28,14 +27,10 @@ inocode: - cd "${CI_PROJECT_DIR}/arduino/${CI_PROJECT_NAME}" - cp "${CI_PROJECT_NAME}.example.h" "${CI_PROJECT_NAME}.h" - /arduino-1.8.2/arduino --verify "${CI_PROJECT_NAME}.ino" -# after_script: -# - kill -9 "${xvfb}" - yaml: image: "python:alpine" before_script: - - pip install "PyYAML" + - pip install "homeassistant" script: - - cd "${CI_PROJECT_DIR}/home-assistant" - - python -c "from yaml import load, Loader; load(open('configuration.yaml'), Loader=Loader)" + - hass --config "${CI_PROJECT_DIR}/home-assistant" --script check_config