Skip to content

Commit

Permalink
Add CI to generate thesis.pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
MatiasVara committed Feb 16, 2019
1 parent c43da32 commit 1bb8486
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Part of `travis-lazarus` (https://github.com/nielsAD/travis-lazarus)
# License: MIT

language: generic
sudo: required
dist: trusty

os:
- linux

env:

before_deploy:
- git config --local user.name "Travis CI"
- git config --local user.email "[email protected]"
- export GIT_TAG=$TRAVIS_BRANCH-$TRAVIS_BUILD_NUMBER
- git tag $GIT_TAG -m "Generated tag from TravisCI for build $TRAVIS_BUILD_NUMBER"

deploy:
provider: releases
api_key:
secure: $GH_TOKEN
file:
- ./thesis.pdf
on:
branch: master
skip_cleanup: true

before_install:

install:
- sudo apt-get install texlive-full

script:
- pdflatex -synctex=1 -interaction=nonstopmode thesis.tex

notifications:
email:
on_success: false
on_failure: false

0 comments on commit 1bb8486

Please sign in to comment.