Skip to content

Commit 0307f3a

Browse files
committed
Add support for running codespell
Signed-off-by: Rob Herring <[email protected]>
1 parent 4b45542 commit 0307f3a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,15 @@ addons:
2828
install:
2929
- pip install --user mako
3030
- pip install --user Sphinx
31+
- pip install --user codespell
3132

3233
before_script:
3334
- wget https://github.com/ftilmann/latexdiff/releases/download/1.2.1/latexdiff-1.2.1.tar.gz
3435
- tar xvf latexdiff-1.2.1.tar.gz
3536
- export PATH=$PWD/latexdiff-1.2.1/:$PATH
3637

3738
script:
39+
- make check
3840
- git checkout $DIFF_COMMIT
3941
- make latexpdf
4042
- mv build/latex build/latex-previous
@@ -69,4 +71,3 @@ deploy:
6971
skip_cleanup: true
7072
on:
7173
branch: master
72-

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ help:
5454
clean:
5555
rm -rf $(BUILDDIR)/*
5656

57+
.PHONY: check
58+
check:
59+
codespell source/*.rst
60+
5761
.PHONY: html
5862
html:
5963
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html

0 commit comments

Comments
 (0)