瀏覽代碼

travis: add shellcheck call for all scripts in the repository

Scripts are detected by shebang, not an ideal approach, but should be
good enough.
Marek Marczykowski-Górecki 6 年之前
父節點
當前提交
9c61ea0dcd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -18,6 +18,7 @@ jobs:
       env: TESTS_ONLY=1
       script:
        - ./run-tests
+       - shellcheck  $(grep -l '^#!/bin/\(ba\)\?sh' $(git ls-files))
       after_success:
        - codecov
     - stage: deploy