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.

ShellCheck

Each individual ShellCheck warning has its own wiki page like SC1000. Use GitHub Wiki's "Pages" feature above to find a specific one, or see Checks.

Clone this wiki locally