Skip to content
This repository was archived by the owner on Sep 19, 2019. It is now read-only.

Commit 1f30d60

Browse files
committed
Travis hinzugefügt
1 parent 08d59c1 commit 1f30d60

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "Travis"]
2+
path = Travis
3+
url = https://github.com/HSR-Stud/Travis.git

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
notifications:
2+
email: false
3+
sudo: required
4+
dist: trusty
5+
install:
6+
- dir
7+
- pwd
8+
- source ./Travis/texlive_install.sh
9+
cache:
10+
directories:
11+
- /tmp/texlive
12+
- $HOME/.texlive
13+
# Change working directory so including files will work
14+
before_script:
15+
- dir
16+
- pwd
17+
script:
18+
# Prefix command with travis_wait x so it times out after 3 mins, because when the LaTeX doesn't compile pdflatex just hangs instead of quitting.
19+
- travis_wait 3 pdflatex -interaction=nonstopmode -halt-on-error ./DigDes.tex
20+
- travis_wait 3 pdflatex -interaction=nonstopmode -halt-on-error ./DigDes.tex
21+
- travis_wait 3 pdflatex -interaction=nonstopmode -halt-on-error ./DigDes.tex
22+
23+
before_deploy:
24+
- dir
25+
deploy:
26+
provider: releases
27+
api_key:
28+
secure: $GITHUB_RELEASE_TOKEN
29+
file:
30+
- ./DigDes.pdf
31+
skip_cleanup: true
32+
on:
33+
tags: true
34+
all_branches: true
35+

Travis

Submodule Travis added at 1eebd0f

0 commit comments

Comments
 (0)