travis: add shellcheck call for all scripts in the repository

Scripts are detected by shebang, not an ideal approach, but should be
good enough.
This commit is contained in:
Marek Marczykowski-Górecki 2017-09-30 04:56:45 +02:00
parent aad6fa6d19
commit 9c61ea0dcd
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

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