Skip to content

Commit

Permalink
Add support for running codespell
Browse files Browse the repository at this point in the history
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
robherring committed Jun 12, 2019
1 parent 4b45542 commit 0307f3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ addons:
install:
- pip install --user mako
- pip install --user Sphinx
- pip install --user codespell

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

script:
- make check
- git checkout $DIFF_COMMIT
- make latexpdf
- mv build/latex build/latex-previous
Expand Down Expand Up @@ -69,4 +71,3 @@ deploy:
skip_cleanup: true
on:
branch: master

4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ help:
clean:
rm -rf $(BUILDDIR)/*

.PHONY: check
check:
codespell source/*.rst

.PHONY: html
html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
Expand Down

0 comments on commit 0307f3a

Please sign in to comment.