From 70ef0a4d94a9af16f7c620c78f48cba7403c23f8 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Wed, 24 Apr 2019 13:46:50 +0200 Subject: [PATCH] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..c59834d --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ +# https://dev.azure.com/home-assistant + +trigger: + branches: + include: + - master +pr: +- master + +variables: + versionShellCheck: 'v0.6.0' + +jobs: + +- job: 'ShellCheck' + pool: + vmImage: 'ubuntu-16.04' + steps: + - script: sudo docker pull koalaman/shellcheck:$(versionShellCheck) + displayName: 'Install ShellCheck' + - script: | + sudo docker run --rm -i \ + -v $(pwd):/mnt:ro koalaman/shellcheck:$(versionShellCheck) \ + hassio_installer.sh files/hassio-apparmor files/hassio-supervisor + displayName: 'Run ShellCheck'