-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
45 lines (45 loc) · 2.02 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
before_install:
- sudo apt-get update
- sudo apt-get install -y texlive-latex-extra texlive-lang-german texlive-math-extra
before_script:
- dir
- pwd
- cd ..
- dir
- touch Idiotenseite.tex
- echo '% !TEX root = Idiotenseite.tex' >> Idiotenseite.tex
- echo '\documentclass[10pt,oneside,a4paper,fleqn]{scrartcl}' >> Idiotenseite.tex
- echo '\usepackage[left=1cm,right=1cm,top=0.5cm,bottom=0.5cm,includeheadfoot]{geometry}' >> Idiotenseite.tex
- echo '\usepackage[utf8]{inputenc}' >> Idiotenseite.tex
- echo '\usepackage{multicol}' >> Idiotenseite.tex
- echo '\usepackage[english, ngerman]{babel}' >> Idiotenseite.tex
- echo '\usepackage[automark]{scrpage2}' >> Idiotenseite.tex
- echo '\usepackage{tabularx}' >> Idiotenseite.tex
- echo '\usepackage{amssymb}' >> Idiotenseite.tex
- echo '\usepackage{mathtools}' >> Idiotenseite.tex
- echo '\usepackage{bm}' >> Idiotenseite.tex
- echo '\usepackage{rotating}' >> Idiotenseite.tex
- echo '\usepackage[europeanresistors,americaninductors]{circuitikz}' >> Idiotenseite.tex
- echo '\newcommand{\buch}[1]{{$_{\textcolor{HSRLakeGreen}{\mbox{\small{#1}}}}$}{}}' >> Idiotenseite.tex
- echo '\newcommand{\buchSeite}[1]{{\ensuremath{_{\textcolor{red}{\mbox{\small{ S#1}}}}}}{}}' >> Idiotenseite.tex
- echo '\newcommand{\skript}[1]{{$_{\textcolor{HSRReed}{\mbox{\small{#1}}}}$}{}}' >> Idiotenseite.tex
- echo '\newcommand{\formelbuch}[1]{$_{\textcolor{red}{\mbox{\small{S#1}}}}$}' >> Idiotenseite.tex
- echo '\newcommand{\arraystretchOriginal}{1.5}' >> Idiotenseite.tex
- echo '\renewcommand{\arraystretch}{\arraystretchOriginal}' >> Idiotenseite.tex
- echo '\setlength{\parindent}{0pt}' >> Idiotenseite.tex
- echo '\begin{document}' >> Idiotenseite.tex
- echo '\input{idiotenseite/IdiotenseiteInclude}' >> Idiotenseite.tex
- echo '\end{document}' >> Idiotenseite.tex
- dir
- pwd
script:
- pdflatex -interaction=nonstopmode ./Idiotenseite.tex
- pdflatex -interaction=nonstopmode ./Idiotenseite.tex
deploy:
provider: releases
api_key: $GITHUB_RELEASE_TOKEN
file:
- ./Idiotenseite.pdf
skip_cleanup: true
on:
tags: true