forked from HoTT/book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
75 lines (66 loc) · 3.26 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
language: c
sudo: false
cache:
directories:
- $HOME/.cache/latex
addons:
apt:
packages:
- texlive
- wget
- curl
- sed
- grep
env:
global:
- secure: "ehec8FC6y923UXtB2fMULF/xkQJkwWwzD6xFxyz0lc80IqR8Rmxh16nLKGxI9jD11qjbYSzp1yPVadXyBoSheop5aZPxeXixL49y26ikIRkyuQQdHyjsM34etoPmCKw2vVXvD+JAwjTa6qYpihSOdDXltog8ZNHF6Wp28ZaWW8g="
matrix:
include:
# only one of these should have UPDATE_ERRATA set to "yes", otherwise we risk race conditions on pushing
- env: LATEXMK="yes" UPDATE_ERRATA="" UPDATE_NIGHTLIES="" TARGETS=""
addons:
apt:
packages:
- latexmk
- texlive
- wget
- curl
- sed
- grep
- env: LATEXMK="" UPDATE_ERRATA="yes" UPDATE_NIGHTLIES="yes" TARGETS=""
- env: LATEXMK="" UPDATE_ERRATA="" UPDATE_NIGHTLIES="" TARGETS="dvi"
install:
- test -z "$LATEXMK" || which latexmk
- mkdir -p "$HOME"/.cache/latex
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/comment/comment.sty
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/misc/nextpage.sty
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/fonts/stmaryrd.zip
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/wallpaper/wallpaper.sty
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/generic/xstring/xstring.sty
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/generic/xstring/xstring.tex
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/enumitem/enumitem.sty
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/mathtools.zip
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/generic/diagrams/xypic.zip
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/etoolbox/etoolbox.def
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/etoolbox/etoolbox.sty
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/titlesec.zip
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/braket/braket.sty
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/supertabular/supertabular.dtx http://mirrors.ctan.org/macros/latex/contrib/supertabular/supertabular.ins
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/soul/soul.dtx http://mirrors.ctan.org/macros/latex/contrib/soul/soul.ins
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/macros/latex/contrib/xcolor/xcolor.dtx http://mirrors.ctan.org/macros/latex/contrib/xcolor/xcolor.ins
- ./etc/ci/wget_retry.sh http://mirrors.ctan.org/graphics/pgf/base.zip
- cp "$HOME"/.cache/latex/* ./
- unzip stmaryrd && mv stmaryrd/*.{mf,dtx} ./ && latex stmaryrd.dtx
- unzip mathtools.zip && (cd mathtools && for i in *.dtx; do (mv $i ../ && cd .. && tex $i); done)
- unzip xypic.zip && mv xypic/*/* ./
- unzip titlesec.zip && mv titlesec/*.{tss,sty,def} ./
- latex supertabular.ins
- latex soul.ins
- latex xcolor.ins
- unzip base && find base -name "*.sty" -o -name "*.tex" -o -name "*.def" -o -name "*.cfg" | grep -v pgfmanual | xargs cp -t ./
script: make $TARGETS
# add -f to force a push even if we're not on HoTT/HoTT.
# generally only useful for debugging
after_script:
- etc/ci/update_errata.sh
- etc/ci/update_nightlies.sh