]> Sergey Matveev's repositories - nnn.git/commitdiff
Integrate shellcheck in CI
authorArun Prakash Jana <engineerarun@gmail.com>
Fri, 22 Nov 2019 06:29:14 +0000 (11:59 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 22 Nov 2019 06:29:14 +0000 (11:59 +0530)
.circleci/config.yml

index b149c9b9e104433da0206d7c29048184bb05b723..81c6c7b60734a137b22b9368012870eeb45e270c 100644 (file)
@@ -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