-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add travis to try build and spell check (#6)
- Loading branch information
1 parent
77bf499
commit 82f4138
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
language: python | ||
python: "3.5" | ||
dist: trusty | ||
sudo: true | ||
before_install: | ||
- sudo apt update && sudo apt install -y enchant | ||
install: | ||
- pip install -U setuptools | ||
- pip install -U pyenchant sphinx-rtd-theme sphinxcontrib-spelling | ||
script: | ||
- make spelling | ||
# show list of misspelled words | ||
- cat "_build/spelling/output.txt" | ||
- make html | ||
# fail the build in case of any misspelled words | ||
- if [[ -s "_build/spelling/output.txt" ]]; then false; fi | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters