From 11fd331ac016844dd40fb48e2a72920062bf45e1 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Fri, 22 Feb 2019 20:34:54 -0800 Subject: [PATCH] Enable CI --- .gitlab-ci.yml | 15 +++++++++++++++ README.md | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7367bc9 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,15 @@ +stages: + - test + +lint: + stage: test + image: homeassistant/amd64-homeassistant + before_script: + - mkdir -p /home/pi/ssl + - mkdir -p /home/pi/.ssh + - touch /home/pi/ssl/chain + - touch /home/pi/ssl/key + - touch /home/pi/.ssh/id_rsa + script: + - hass --version + - hass --script check_config -c . diff --git a/README.md b/README.md index c57a1b2..96487d4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# [Home Assistant](https://home-assistant.io/) Configurations +# [Home Assistant](https://home-assistant.io/) Configurations [](https://git.ethitter.com/open-source/Home-Assistant-Config/commits/master) My configuration files for the open-source [Home Assistant](https://home-assistant.io/) home-automation platform. Provided as a reference, with no warranty or other support. Released under GPL 2. -- GitLab