From f08950ea71543f1f25fad58d81c2d976cc0e28f0 Mon Sep 17 00:00:00 2001 From: Pavel Lobashov Date: Mon, 6 May 2019 14:49:20 +0300 Subject: [PATCH] Spellcheck travis task will fail Before it just output incorrect words, but task was marked as green. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c55d6c11..af875c67 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ jobs: - npm install -g markdownlint-cli - markdownlint CHANGELOG.md - stage: spellcheck - script: cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list + script: if [[ $(cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list | wc -l) -ne 0 ]]; then exit 1 ; fi