Implement shellcheck on Travis CI using the latest docker image.

ccztux
2017-02-21 21:42:58 +01:00
parent 58cbcbc7d9
commit 50ed331933

@@ -21,3 +21,29 @@ script:
matrix: matrix:
fast_finish: true fast_finish: true
``` ```
***
contributor ccztux says:
>This is how you can implement shellcheck on Travis CI using the latest docker image:
```yaml
sudo: required
language: bash
services:
- docker
before_install:
- docker pull koalaman/shellcheck
script:
- docker run -v $(pwd):/scripts koalaman/shellcheck /scripts/yourscript.sh
matrix:
fast_finish: true
```