Skip to content

Commit

Permalink
Add codespell to travis
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed May 17, 2019
1 parent 0ec6181 commit cb1a3d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .codespell-whitelist
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
uint
ith
mitre
readded
3 changes: 3 additions & 0 deletions .travis-ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,7 @@ elif [[ $TASK = 'eip-validator' ]]; then

FILES="$(ls EIPS/*.md | egrep "eip-[0-9]+.md")"
bundle exec eip_validator $FILES
elif [[ $TASK = 'codespell' ]]; then
pip install codespell
codespell -q4 -I .codespell-whitelist eip-X.md EIPS/
fi
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ matrix:
env: TASK='htmlproofer-external'
- rvm: 2.2.5
env: TASK='eip-validator'
- env: TASK='codespell'
allow_failures:
- rvm: 2.2.5
env: TASK='htmlproofer-external'
Expand Down

0 comments on commit cb1a3d4

Please sign in to comment.