summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Grandin <grandinp@gmail.com>2019-06-05 11:35:17 -0600
committerPierre Grandin <grandinp@gmail.com>2019-06-05 11:35:17 -0600
commit27f46ffa0a4e3362a583d0417e7cc1800ffc4133 (patch)
tree5fda0d2c7845db6ecc28f2d6b5d61e6aeb4e9c3c
parent626747440a0773c7fb5d73fad0172cba1d048292 (diff)
downloadnavit-27f46ffa0a4e3362a583d0417e7cc1800ffc4133.tar.gz
Added misspell checks
-rw-r--r--.circleci/config.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 57e2f4c68..0b6077c02 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -227,6 +227,26 @@ jobs:
- run:
name: Update results to Github
command: export GIT_TERMINAL_PROMPT=0 && git push origin $CIRCLE_SHA1:refs/heads/master
+ merge_trunk_in_master:
+ <<: *defaults
+ steps:
+ - checkout
+ - run:
+ name: Install misspell
+ command: |
+ curl -L -o ./install-misspell.sh https://git.io/misspell
+ sh ./install-misspell.sh -b /usr/local/bin/
+ - run:
+ name: Check docs folder for misspells
+ command: |
+ misspell docs/ > typos.txt
+ if [[ $( wc -l < typos.txt ) -gt 0 ]]; then
+ echo "Typos/mispells found, please fix them";
+ cat typos.txt
+ exit -1
+ fi
+
+
workflows:
version: 2
build_all:
@@ -275,3 +295,7 @@ workflows:
filters:
branches:
only: /^trunk$/
+ - check_spelling:
+ filters:
+ branches:
+ only: /^readthedocs$/