TravisCI – ShellCheck Wiki

See this page on GitHub

Sitemap


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 is a static analysis tool for shell scripts. This page is part of its documentation.