indent YAML

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

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