-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (34 loc) · 909 Bytes
/
.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
# 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
- bibtex thesis
- pdflatex -synctex=1 -interaction=nonstopmode thesis.tex
- pdflatex -synctex=1 -interaction=nonstopmode thesis.tex
notifications:
email:
on_success: false
on_failure: false