indent YAML

Viktor Szépe
2018-05-16 00:25:01 +02:00
parent 2e4d47279a
commit cae855840f

@@ -20,12 +20,12 @@ sudo: false
addons:
apt:
sources:
- debian-sid # Grab shellcheck from the Debian repo (o_O)
- debian-sid # Grab shellcheck from the Debian repo (o_O)
packages:
- shellcheck
- shellcheck
script:
- bash -c 'shopt -s globstar; shellcheck **/*.{sh,bash}'
- bash -c 'shopt -s globstar; shellcheck **/*.{sh,bash}'
matrix:
fast_finish: true
@@ -52,7 +52,7 @@ before_install:
- docker pull koalaman/shellcheck
script:
- docker run -v $(pwd):/scripts koalaman/shellcheck /scripts/yourscript.sh
- docker run -v $(pwd):/scripts koalaman/shellcheck /scripts/yourscript.sh
matrix:
fast_finish: true
@@ -74,20 +74,20 @@ sudo: false
addons:
apt:
packages:
- realpath # required by script
- cabal-install
- ghc
- realpath # required by script
- cabal-install
- ghc
install:
- ./"Build and Setup ShellCheck's Latest Release.bash" --without-root
- PATH="${HOME}/.cabal/bin:${PATH}"
- ./"Build and Setup ShellCheck's Latest Release.bash" --without-root
- PATH="${HOME}/.cabal/bin:${PATH}"
before_cache:
- rm $HOME/.cabal/logs/build.log
- rm $HOME/.cabal/logs/build.log
cache:
directories:
- $HOME/.cabal
- $HOME/.cabal
```
> Here's another Git submodule to check all Bash scripts in the repository excluding its submodules using ShellCheck: