mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Updated TravisCI (markdown)
@@ -1,6 +1,14 @@
|
|||||||
It's recommended to first refer to the official instructions regarding using ShellCheck with Travis CI: \
|
It's recommended to first refer to the official instructions regarding using ShellCheck with Travis CI: \
|
||||||
https://github.com/koalaman/shellcheck#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:
|
Note:
|
||||||
>Travis CI has now integrated ShellCheck by default, so you don't need to manually install it.
|
>Travis CI has now integrated ShellCheck by default, so you don't need to manually install it.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user