-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de98991
commit e0577e4
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
notifications: | ||
email: false | ||
sudo: required | ||
dist: trusty | ||
install: | ||
- dir | ||
- pwd | ||
- source ./Travis/texlive_install.sh | ||
cache: | ||
directories: | ||
- /tmp/texlive | ||
- $HOME/.texlive | ||
# Change working directory so including files will work | ||
before_script: | ||
- dir | ||
- pwd | ||
script: | ||
# 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. | ||
- travis_wait 3 pdflatex -interaction=nonstopmode -halt-on-error ./VorlageZFLaTex.tex | ||
# - bibtex ./VorlageZFLaTex.aux | ||
- travis_wait 3 pdflatex -interaction=nonstopmode -halt-on-error ./VorlageZFLaTex.tex | ||
- travis_wait 3 pdflatex -interaction=nonstopmode -halt-on-error ./VorlageZFLaTex.tex | ||
|
||
before_deploy: | ||
- dir | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: $GITHUB_RELEASE_TOKEN | ||
file: | ||
- ./VorlageZFLaTex.pdf | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
all_branches: true | ||
|