Skip to content

Commit d507fcb

Browse files
committed
Install humor sans when building docs
1 parent 898b5d2 commit d507fcb

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.travis.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,17 @@ install:
2626
- pip install -q --use-mirrors nose python-dateutil $NUMPY pep8 pyparsing pillow
2727
- sudo apt-get update && sudo apt-get -qq install inkscape libav-tools gdb
2828
# We use --no-install-recommends to avoid pulling in additional large latex docs that we don't need
29-
- if [[ $BUILD_DOCS == true ]]; then sudo apt-get install -qq --no-install-recommends dvipng texlive-latex-base texlive-latex-extra texlive-fonts-recommended graphviz; fi
30-
- if [[ $BUILD_DOCS == true ]]; then pip install sphinx numpydoc linkchecker; fi
29+
30+
# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
31+
# availible in the Ubuntu version used by Travis but we can manually install the deb from a later
32+
# version since is it basically just a .ttf file
33+
- |
34+
if [[ $BUILD_DOCS == true ]]; then
35+
sudo apt-get install -qq --no-install-recommends dvipng texlive-latex-base texlive-latex-extra texlive-fonts-recommended graphviz
36+
pip install sphinx numpydoc linkchecker
37+
wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb
38+
sudo dpkg -i fonts-humor-sans_1.0-1_all.deb
39+
fi;
3140
- python setup.py install
3241

3342
script:

0 commit comments

Comments
 (0)