Updated TravisCI (markdown)

Miguel Angel
2018-02-13 23:28:06 -04:00
parent 7c62f5ad71
commit 4094274f65

@@ -82,4 +82,35 @@ cache:
``` ```
> Here's another Git submodule to check all Bash scripts in the repository excluding its submodules using ShellCheck: > Here's another Git submodule to check all Bash scripts in the repository excluding its submodules using ShellCheck:
> https://github.com/Lin-Buo-Ren/GNU-Bash-Automatic-Checking-Program-for-Git-Projects > https://github.com/Lin-Buo-Ren/GNU-Bash-Automatic-Checking-Program-for-Git-Projects
***
contributor ntrrg says:
> Using the binary (Linux x64) is pretty straightforward
```yaml
language: bash
before_install:
- wget -c https://goo.gl/ZzKHFv -O - | tar -xvJ -C /tmp/
- PATH="/tmp/shellcheck-latest:$PATH"
script: shellcheck **/*.sh
```
> Makefiles can easily integrate it
`Makefile`:
```Makefile
```
`.travis.yml`:
```yaml
language: bash
before_install:
- wget -c https://goo.gl/ZzKHFv -O - | tar -xvJ -C /tmp/
- PATH="/tmp/shellcheck-latest:$PATH"
script: shellcheck **/*.sh
```