|
1 | 1 | os: "linux" |
2 | 2 | dist: "bionic" |
3 | | - |
4 | 3 | language: "minimal" |
5 | 4 |
|
6 | 5 | addons: |
7 | 6 | apt: |
8 | 7 | update: true |
9 | 8 | packages: |
10 | 9 | - "scons" |
11 | | - - "texlive-fonts-extra" |
12 | | - - "texlive-lang-cyrillic" |
13 | | - - "texlive-lang-german" |
14 | | - - "texlive-latex-extra" |
15 | | - - "texlive-luatex" |
16 | | - - "texlive-plain-generic" |
17 | | - - "texlive-science" |
18 | 10 |
|
19 | 11 | install: |
20 | | - # update KOMA-Script and etoc packages as TeX Live 2017 is too old |
21 | | - - "mkdir tmp && cd tmp" |
22 | | - - "wget https://svwh.dl.sourceforge.net/project/koma-script/KOMA-Script/koma-script-3511.zip" |
23 | | - - "unzip koma-script-3511.zip" |
24 | | - - "rm koma-script-3511.zip" |
25 | | - - "sudo mv * /usr/local/share/texmf/" |
26 | | - - "wget http://mirrors.ctan.org/macros/latex/contrib/etoc.zip" |
27 | | - - "unzip etoc.zip" |
28 | | - - "cd etoc" |
29 | | - - "etex etoc.dtx" |
30 | | - - "sudo mkdir -p /usr/local/share/texmf/tex/latex/etoc" |
31 | | - - "sudo mv etoc.sty /usr/local/share/texmf/tex/latex/etoc/" |
32 | | - - "cd .. && rm -r etoc" |
33 | | - - "sudo texhash" |
34 | | - - "cd .. && rm -r tmp" |
| 12 | + # list of packages (heavily modified output of "\RequirePackage{snapshot}") |
| 13 | + - "export PACKAGES='bbm bbm-macros booktabs cancel charter chemgreek courier cyrillic dashrule enumitem epstopdf esint esvect etoc floatflt fontaxes framed gofonts ifmtarg import koma-script lastpage listings ly1 mathdesign mathtools mhchem microtype multirow silence siunitx snapshot translator ulem xcharter xcolor xkeyval xpatch xstring xypic'" |
| 14 | + - "wget https://ftp.tu-chemnitz.de/pub/tug/historic/systems/texlive/2020/install-tl-unx.tar.gz" |
| 15 | + - "tar -xzf install-tl-unx.tar.gz" |
| 16 | + - "rm -f install-tl-unx.tar.gz" |
| 17 | + - "cd install-tl*" |
| 18 | + - "./install-tl \"--profile=$TRAVIS_BUILD_DIR/.travis.texlive-profile\"" |
| 19 | + - "cd .." |
| 20 | + - "rm -rf install-tl*" |
| 21 | + - "export PATH=\"/home/travis/local/share/texlive/bin/x86_64-linux:$PATH\"" |
| 22 | + - "tlmgr install $PACKAGES" |
35 | 23 |
|
36 | 24 | script: |
37 | 25 | - "/usr/bin/env python3 $(which scons) -j $(nproc)" |
|
0 commit comments