File tree 2 files changed +8
-22
lines changed 2 files changed +8
-22
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ version: 2.1
11
11
apt-run : &apt-install
12
12
name : Install apt packages
13
13
command : |
14
- sudo apt-get -qq update
15
- sudo apt-get install -y \
14
+ sudo apt -qq update
15
+ sudo apt install -y \
16
16
inkscape \
17
17
ffmpeg \
18
18
dvipng \
@@ -25,35 +25,22 @@ apt-run: &apt-install
25
25
texlive-pictures \
26
26
texlive-xetex \
27
27
graphviz \
28
- libgeos-dev \
29
28
fonts-crosextra-carlito \
30
- fonts-freefont-otf
29
+ fonts-freefont-otf \
30
+ fonts-humor-sans
31
31
32
32
fonts-run : &fonts-install
33
33
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
34
command : |
39
35
mkdir -p ~/.local/share/fonts
40
36
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
37
fc-cache -f -v
51
38
save_cache :
52
- key : fonts-1
39
+ key : fonts-2
53
40
paths :
54
41
- ~/.local/share/fonts/
55
42
restore_cache :
56
- key : fonts-1
43
+ key : fonts-2
57
44
58
45
pip-run : &pip-install
59
46
# Upgrade pip and setuptools and wheel to get as clean an install as possible
Original file line number Diff line number Diff line change 59
59
set -e
60
60
case "$(python -c 'import sys; print(sys.platform)')" in
61
61
linux)
62
- sudo apt-get update
63
- sudo apt-get install \
62
+ sudo apt update
63
+ sudo apt install \
64
64
cm-super \
65
65
dvipng \
66
66
ffmpeg \
69
69
graphviz \
70
70
inkscape \
71
71
libcairo2 \
72
- libgeos-dev \
73
72
libgirepository-1.0.1 \
74
73
lmodern \
75
74
fonts-freefont-otf \
You can’t perform that action at this time.
0 commit comments