Skip to content
John Gardner edited this page Dec 22, 2021 · 22 revisions

It's recommended to first refer to the official instructions regarding using ShellCheck with Travis CI.

For a truly simple configuration, place the following in your .travis.yml:

language: shell
script:
  - bash -c 'shopt -s globstar nullglob; shellcheck **/*.{sh,ksh,bash}'

Note:

Travis CI has now integrated ShellCheck by default, so you don't need to manually install it.

Clone this wiki locally