Skip to content

Commit 3ee6d8a

Browse files
committed
Fixed spelling build on Travis CI
1 parent b4da964 commit 3ee6d8a

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ python: 2.7
55
sudo: false
66
cache:
77
directories: [$HOME/.cache/pip]
8+
9+
addons:
10+
apt:
11+
packages: [enchant]
812

913
install: pip install -r _build/.requirements.txt
1014

_build/.requirements.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pytz==2017.2
99
requests==2.20.0
1010
six==1.10.0
1111
snowballstemmer==1.2.1
12-
Sphinx==1.3.6
12+
sphinx==1.3.6
13+
sphinxcontrib-spelling==4.2.0
14+
pyenchant
1315
git+https://github.com/fabpot/sphinx-php.git@7312eccce9465640752e51373a480da700e02345#egg_name=sphinx-php
14-
#sphinxcontrib.spelling

_build/conf.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
extensions = [
3737
'sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo',
3838
'sensio.sphinx.refinclude', 'sensio.sphinx.configurationblock', 'sensio.sphinx.phpcode', 'sensio.sphinx.bestpractice', 'sensio.sphinx.codeblock',
39-
'symfonycom.sphinx'
40-
#,'sphinxcontrib.spelling'
39+
'symfonycom.sphinx',
40+
'sphinxcontrib.spelling'
4141
]
4242

43-
#spelling_show_sugestions=True
44-
#spelling_lang='en_US'
45-
#spelling_word_list_filename='_build/spelling_word_list.txt'
43+
spelling_show_sugestions=True
44+
spelling_lang='en_US'
45+
spelling_word_list_filename='_build/spelling_word_list.txt'
4646

4747
# Add any paths that contain templates here, relative to this directory.
4848
# templates_path = ['_theme/_templates']

0 commit comments

Comments
 (0)