forked from tuna/thuthesis
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (31 loc) · 1.48 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
language: generic
install:
- REMOTE="http://mirror.ctan.org/systems/texlive/tlnet"
- INSTALL="/tmp/install-texlive"
- mkdir -p $INSTALL
- curl -sSL $REMOTE/install-tl-unx.tar.gz | tar -xzv -C $INSTALL --strip-components=1
- echo "selected_scheme scheme-basic" >> $INSTALL/tl.profile
- echo "TEXDIR /tmp/texlive" >> $INSTALL/tl.profile
- echo "TEXMFLOCAL /tmp/texlive/texmf-local" >> $INSTALL/tl.profile
- echo "TEXMFSYSCONFIG /tmp/texlive/texmf-config" >> $INSTALL/tl.profile
- echo "TEXMFSYSVAR /tmp/texlive/texmf-var" >> $INSTALL/tl.profile
- echo "tlpdbopt_autobackup 0" >> $INSTALL/tl.profile
- echo "tlpdbopt_install_docfiles 0" >> $INSTALL/tl.profile
- echo "tlpdbopt_install_srcfiles 0" >> $INSTALL/tl.profile
- $INSTALL/install-tl -profile $INSTALL/tl.profile
- PLATFORM=$($INSTALL/install-tl --print-platform)
- export PATH="/tmp/texlive/bin/$PLATFORM:$PATH"
- tlmgr install latexmk
fandol tex-gyre stix2-otf xits
fontspec l3kernel l3packages xetex
cjk ctex environ ms trimspaces ulem xecjk zhnumber
booktabs caption diagbox enumitem eso-pic etoolbox filehook float footmisc
fp multirow notoccite ntheorem pdfpages pict2e unicode-math xcolor zapfding
fontaxes kastrup listings lm metalogo newtx newpx palatino pxfonts thumbpdf
txfonts xkeyval
before_script:
- sed -i 's/\[RawFeature={vertical:}\]{FangSong}/\[Extension=.otf,RawFeature={vertical:}\]{FandolFang-Regular}/' shuji.tex
script:
- make thesis
- make shuji
- make doc