aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorCryptomental <cryptomental.com@gmail.com>2018-07-10 15:15:39 +0800
committerCryptomental <cryptomental.com@gmail.com>2018-07-11 04:57:50 +0800
commitd454cec1bd8c95d0ab850a199bf9696dcebe14a5 (patch)
tree918651cc4d4b420ce34416a7af20cfad4fd53202 /.circleci/config.yml
parentd84976dc871a1fdfab233650b989af69e325bf2b (diff)
downloaddexon-solidity-d454cec1bd8c95d0ab850a199bf9696dcebe14a5.tar.gz
dexon-solidity-d454cec1bd8c95d0ab850a199bf9696dcebe14a5.tar.zst
dexon-solidity-d454cec1bd8c95d0ab850a199bf9696dcebe14a5.zip
circleci: Integrate codespell.
Run codespell against documentation and during Linux test run. Use codespell_whitelist.txt dictionary to whitelist words that should not be considered as misspelled. Currently whitelist "iff" and "nd". Refs: #4442
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 30dccead..c577be7b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -158,6 +158,23 @@ jobs:
- store_artifacts: *solc_artifact
- persist_to_workspace: *all_artifacts
+ test_check_spelling:
+ docker:
+ - image: circleci/python:3.6
+ environment:
+ TERM: xterm
+ steps:
+ - checkout
+ - attach_workspace:
+ at: build
+ - run:
+ name: Install dependencies
+ command: |
+ pip install --user codespell
+ - run:
+ name: Check spelling
+ command: ~/.local/bin/codespell -S "*.enc,.git" -I ./scripts/codespell_whitelist.txt
+
test_x86_linux:
docker:
- image: buildpack-deps:artful
@@ -220,6 +237,7 @@ workflows:
version: 2
build_all:
jobs:
+ - test_check_spelling: *build_on_tags
- build_emscripten: *build_on_tags
- test_emscripten_solcjs:
<<: *build_on_tags