File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,33 +27,21 @@ apt-run: &apt-install
2727 graphviz \
2828 libgeos-dev \
2929 fonts-crosextra-carlito \
30- fonts-freefont-otf
30+ fonts-freefont-otf \
31+ fonts-humor-sans
3132
3233fonts-run : &fonts-install
3334 name : Install custom fonts
34- # We manually install Humor-Sans using the package from Ubuntu 14.10.
35- # Unfortunately humor sans is not available in the Ubuntu version used by
36- # CircleCI but we can manually install the deb from a later version since
37- # it is basically just a .ttf file.
3835 command : |
3936 mkdir -p ~/.local/share/fonts
4037 wget -nc https://github.com/google/fonts/blob/master/ofl/felipa/Felipa-Regular.ttf?raw=true -O ~/.local/share/fonts/Felipa-Regular.ttf || true
41- if [ ! -f ~/.local/share/fonts/Humor-Sans.ttf ]; then
42- wget http://http.us.debian.org/debian/pool/main/f/fonts-humor-sans/fonts-humor-sans_1.0-3_all.deb
43- mkdir tmp
44- dpkg -x fonts-humor-sans_1.0-3_all.deb tmp
45- cp tmp/usr/share/fonts/truetype/humor-sans/Humor-Sans.ttf ~/.local/share/fonts
46- rm -rf tmp
47- else
48- echo "Not downloading Humor-Sans; file already exists."
49- fi
5038 fc-cache -f -v
5139 save_cache :
52- key : fonts-1
40+ key : fonts-2
5341 paths :
5442 - ~/.local/share/fonts/
5543 restore_cache :
56- key : fonts-1
44+ key : fonts-2
5745
5846pip-run : &pip-install
5947 # Upgrade pip and setuptools and wheel to get as clean an install as possible
You can’t perform that action at this time.
0 commit comments