-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
39 lines (33 loc) · 1.2 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
dist: trusty
sudo: required
addons:
apt:
packages:
- texlive-full
- imagemagick
before_install:
- wget http://mirrors.ctan.org/macros/latex/contrib/titlesec.zip && unzip titlesec.zip
- sudo rm -r /usr/share/texlive/texmf-dist/tex/latex/titlesec
- sudo mv titlesec /usr/share/texlive/texmf-dist/tex/latex/
- wget https://gitlab.kitware.com/kmorel/UseLATEX/raw/master/UseLATEX.cmake
- CMAKE_ROOT=$(cmake --system-information | grep "CMAKE_ROOT " | cut -d' ' -f 2 | cut -d'"' -f2)
- sudo mv UseLATEX.cmake $CMAKE_ROOT/Modules/
- wget https://github.com/latex4ei/latex4ei-packages/archive/master.zip && unzip master.zip
- sudo mv latex4ei-packages-master/template-files/latex4ei /usr/share/texlive/texmf-dist/tex/latex/latex4ei
- sudo mktexlsr
install: true
script:
- pdflatex Regelungssysteme.tex
- mkdir -p build
- cd build && cmake ..; make; cd ..
- mkdir -p export && cp build/*.pdf build/git.id export
- echo "# This branch is for deployment only" >> export/README.md
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
local-dir: export
on:
branch: master
notifications:
email: false