File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -27,33 +27,21 @@ apt-run: &apt-install
27
27
graphviz \
28
28
libgeos-dev \
29
29
fonts-crosextra-carlito \
30
- fonts-freefont-otf
30
+ fonts-freefont-otf \
31
+ fonts-humor-sans
31
32
32
33
fonts-run : &fonts-install
33
34
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.
38
35
command : |
39
36
mkdir -p ~/.local/share/fonts
40
37
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
50
38
fc-cache -f -v
51
39
save_cache :
52
- key : fonts-1
40
+ key : fonts-2
53
41
paths :
54
42
- ~/.local/share/fonts/
55
43
restore_cache :
56
- key : fonts-1
44
+ key : fonts-2
57
45
58
46
pip-run : &pip-install
59
47
# 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