File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -49,18 +49,20 @@ install:
49
49
# We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
50
50
# availible in the Ubuntu version used by Travis but we can manually install the deb from a later
51
51
# version since is it basically just a .ttf file
52
+ # The current Travis Ubuntu image is to old to search .local/share/fonts so we store fonts in .fonts
52
53
53
54
# We install ipython to use the console highlighting. From IPython 3 this depends on jsonschema and misture.
54
55
# Neihter is installed as a dependency of IPython since they are not used by the IPython console.
55
56
- |
56
57
if [[ $BUILD_DOCS == true ]]; then
57
58
pip install numpydoc linkchecker ipython jsonschema mistune
58
- wget https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true
59
+ wget https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true -O Felipa-Regular.ttf
59
60
wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb
60
61
mkdir -p tmp
62
+ mkdir -p ~/.fonts
61
63
dpkg -x fonts-humor-sans_1.0-1_all.deb tmp
62
- cp tmp/usr/share/fonts/truetype/humor-sans/Humor-Sans.ttf ~/.local/share/ fonts/
63
- cp Felipa-Regular.ttf ~/.local/share/ fonts/
64
+ cp tmp/usr/share/fonts/truetype/humor-sans/Humor-Sans.ttf ~/.fonts
65
+ cp Felipa-Regular.ttf ~/.fonts
64
66
fc-cache -f -v
65
67
fi;
66
68
- python setup.py install
You can’t perform that action at this time.
0 commit comments