-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (46 loc) · 1.38 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
language: generic
python: 3.6
before_install:
# - sudo add-apt-repository -y ppa:jonathonf/texlive
# - sudo apt-get -qq update
# - sudo apt-get install -y --no-install-recommends texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-fonts-recommended texlive-fonts-extra texlive-lang-european texlive-bibtex-extra biber texlive-science latexmk
- tlmgr init-usertree
- tlmgr install inconsolata
# - pip3 install Pygments
addons:
apt:
sources:
- sourceline: 'ppa:jonathonf/texlive'
packages:
- texlive-latex-base
- texlive-latex-extra
- texlive-latex-recommended
- texlive-fonts-recommended
# - texlive-fonts-extra
- texlive-lang-european
- texlive-bibtex-extra
- biber
- texlive-science
- latexmk
- xzdec # maybe not needed for tlmgr?
- python-pygments
script:
- latexmk -pdf -halt-on-error thesis.tex
# - latexmk -output-directory=build -aux-directory=build -pdf -halt-on-error thesis.tex
- latexmk -pdf -halt-on-error defence.tex
- latexmk -pdf -halt-on-error poster.tex
before_deploy:
- mkdir pages
- cp build/thesis.pdf pages/
- cp build/defence.pdf pages/
- cp build/poster.pdf pages/
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
local-dir: pages
verbose: true
on:
branch: master
# all_branches: true