From 1717bf6e46513336c111ee86e62c4945593526bc Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Fri, 24 May 2019 19:17:43 +0300 Subject: [PATCH] Show spellchecker output if spellchecker task fails (#573) --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index af875c67..9d88b52d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,7 @@ jobs: - npm install -g markdownlint-cli - markdownlint CHANGELOG.md - stage: spellcheck - script: if [[ $(cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list | wc -l) -ne 0 ]]; then exit 1 ; fi + script: + - SPELLCHECK_OUT=$(cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list) + - echo $SPELLCHECK_OUT + - if [[ $(echo -n $SPELLCHECK_OUT | wc -c) -ne 0 ]]; then exit 1 ; fi