22 TravisCI
John Gardner edited this page 2021-12-22 16:15:59 +11:00

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.