From a34200a7475a2d21b274dbcef353de9a9f3a6ca4 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 22 Nov 2019 11:59:14 +0530 Subject: Integrate shellcheck in CI --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b149c9b..81c6c7b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,7 +11,7 @@ jobs: - run: command: | apt update -qq - apt install -y --no-install-recommends software-properties-common wget gpg-agent + apt install -y --no-install-recommends software-properties-common wget gpg-agent shellcheck apt-add-repository -y ppa:jonathonf/gcc-9.1 wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add - apt-add-repository -y "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main" @@ -50,6 +50,8 @@ jobs: echo echo "########## clang-tidy-8 ##########" clang-tidy-8 src/* -- -I/usr/include -I/usr/include/ncursesw + echo "########## checllcheck ##########" + find plugins/ -type f -not -name "*.md" -exec shellcheck -e SC1090 {} + package-and-publish: machine: true -- cgit v1.2.3-70-g09d2