Skip to content

Commit

Permalink
Added .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dav1d-wright committed May 27, 2018
1 parent de98991 commit e0577e4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .travis.yml
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

0 comments on commit e0577e4

Please sign in to comment.