From 7d7aeffdba281b428b37d0d9e726e43265974553 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Mon, 20 Aug 2018 19:36:59 -0700 Subject: [PATCH] Add CI --- .gitlab-ci.yml | 12 ++++++++++++ README.md | 2 +- 2 files changed, 13 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..db1d4e8 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +stages: + - test + +lint: + stage: test + image: homeassistant/amd64-homeassistant + before_script: + - mkdir -p /home/pi/ssl + - touch /home/pi/ssl/chain + - touch /home/pi/ssl/key + script: + - 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