forked from quantum-journal/quantum-journal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (37 loc) · 1.46 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
# Unfortunately, the version of LaTeX that ships on Ubuntu 12.04 (Precise)
# comes with a *very* old {hyperref} that is incompatabile with several
# other packages that we depend on.
sudo: required
dist: trusty
addons:
apt:
packages:
- texlive-fonts-recommended
- texlive-fonts-extra
- texlive-latex-recommended
- texlive-latex-extra
# Some of the additional packages we depend on,
# such as {ltxgrid}, are shipped with the "publishers"
# Ubuntu package.
- texlive-publishers
# {tikz} and PGF are supported by two packages in Trusty.
- pgf
- texlive-pictures
# {xcolor} is required to make the Quantum purple color.
- latex-xcolor
# {quantumarticle} additionally requires either lmodern or cm-super.
# We go with cm-super here due to issues with fonts-lmodern raising
# apt errors.
- cm-super
script:
# Test whether the template compiles.
- pdflatex -interaction=nonstopmode -halt-on-error quantum-template.tex
- pdflatex -interaction=nonstopmode -halt-on-error quantum-template.tex
# Test whether the installer works.
- bash install.sh
# Test whether the template compiles against the installed version.
- mkdir _build
- cd _build
- cp ../quantum-template.tex .
- pdflatex -interaction=nonstopmode -halt-on-error quantum-template.tex
- pdflatex -interaction=nonstopmode -halt-on-error quantum-template.tex