From cae855840ff21aaeb9f12c8190ad21e9a657e4fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 16 May 2018 00:25:01 +0200 Subject: [PATCH] indent YAML --- TravisCI.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/TravisCI.md b/TravisCI.md index 772bffd..3150b34 100644 --- a/TravisCI.md +++ b/TravisCI.md @@ -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: