Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
9c61ea0dcd
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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