TravisCI – ShellCheck Wiki

See this page on GitHub


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
  - bash -c 'shopt -s globstar nullglob; shellcheck **/*.{sh,ksh,bash}'


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

ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.