forked from cplusplus/networking-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (43 loc) · 1.03 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
#
# Builds the C++ TS document on Travis CI <https://travis-ci.org/cplusplus/networking-ts>
#
env:
- BUILD_TYPE=latexmk # build using latexmk
- BUILD_TYPE=make # build using Makefile
- BUILD_TYPE=manual # build manually
- BUILD_TYPE=complete # build manually and regenerate indices
script:
# Build ts.pdf
- pushd src
- if [ "$BUILD_TYPE" = "latexmk" ]; then
latexmk -pdf ts;
fi
- if [ "$BUILD_TYPE" = "make" ]; then
make -j2;
fi
- if [ "$BUILD_TYPE" = "manual" -o "$BUILD_TYPE" = "complete" ]; then
pdflatex ts;
pdflatex ts;
pdflatex ts;
makeindex generalindex;
makeindex libraryindex;
makeindex impldefindex;
pdflatex ts;
pdflatex ts;
fi
- popd
sudo: false
addons:
apt:
packages:
- latexmk
- poppler-utils
- texlive-binaries
- texlive-fonts-recommended
- texlive-latex-base
- texlive-latex-extra
- texlive-latex-recommended
- texlive-generic-recommended
- texlive-binaries
- graphviz
- lmodern