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:
4949 # We manually install humor sans using the package from Ubuntu 14.10. Unfortunatly humor sans is not
5050 # availible in the Ubuntu version used by Travis but we can manually install the deb from a later
5151 # 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
5253
5354 # We install ipython to use the console highlighting. From IPython 3 this depends on jsonschema and misture.
5455 # Neihter is installed as a dependency of IPython since they are not used by the IPython console.
5556 - |
5657 if [[ $BUILD_DOCS == true ]]; then
5758 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
5960 wget http://mirrors.kernel.org/ubuntu/pool/universe/f/fonts-humor-sans/fonts-humor-sans_1.0-1_all.deb
6061 mkdir -p tmp
62+ mkdir -p ~/.fonts
6163 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
6466 fc-cache -f -v
6567 fi;
6668 - python setup.py install
You can’t perform that action at this time.
0 commit comments