diff --git a/TravisCI.md b/TravisCI.md index 3150b34..e5a4e1c 100644 --- a/TravisCI.md +++ b/TravisCI.md @@ -1,6 +1,14 @@ It's recommended to first refer to the official instructions regarding using ShellCheck with Travis CI: \ https://github.com/koalaman/shellcheck#travis-ci: +For a truly simple configuration, place the following in your `.travis.yml`: +```yaml +language: shell +sudo: false +script: + - bash -c 'shopt -s globstar; shellcheck **/*.{sh,ksh,bash}' +``` + Note: >Travis CI has now integrated ShellCheck by default, so you don't need to manually install it.