From 63654dba286b0e252587f019a213c868574607c9 Mon Sep 17 00:00:00 2001 From: Julien Cabillot Date: Sat, 4 Mar 2017 01:53:01 +0100 Subject: [PATCH] test yaml lint --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b0357f6..fc88a55 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -production: +inocode: image: "java:8" variables: ESPURL: "http://arduino.esp8266.com/stable/package_esp8266com_index.json" @@ -18,3 +18,11 @@ production: - /arduino-nightly/arduino --install-library "FastLED" - /arduino-nightly/arduino --install-library "PubSubClient" - /arduino-nightly/arduino --pref "${MEMORY}" --board "${BOARD}" --verify "mqttfastledmenu.ino" + +yaml: + image: "python:alpine" + before_script: + - pip install "PyYAML" + script: + - cd "${CI_PROJECT_DIR}" + - python -c "from yaml import load, Loader; load(open('ha_configuration.yml'), Loader=Loader) \ No newline at end of file