Spellcheck travis task will fail

Before it just output incorrect words, but task
was marked as green.
This commit is contained in:
Pavel Lobashov 2019-05-06 14:49:20 +03:00
parent 4a2d46f974
commit f08950ea71

View file

@ -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