-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
66 lines (57 loc) · 2.28 KB
/
.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#
# .travis.yml
#
# This file tells travis-ci.org how to build a pdf from the latex source files.
# See the travis/ subfolder for specific script instructions.
#
# After a successful build, the gh-pages branch of the source git repository gets
# updated with a copy of the latest pdf.
#
#
# travis Instructuions:
#
before_install:
- ./travis/before_install.sh
script: ./travis/setup.sh
after_success:
- ./travis/after_success.sh
#
# Environment Variables:
# Customize to your needs.
#
# Thanks to @pwmckenna (https://github.com/pwmckenna/todium/blob/master/.travis.yml)
# for the example how files can be pushed to gh-pages branch safely.
#
env:
global:
# GH_OAUTH_TOKEN is the oauth token generated as described at
# https://help.github.com/articles/creating-an-oauth-token-for-command-line-use
#
# curl -u 'username' -d '{"scopes":["repo"],"note":"push to gh-pages from travis"}' https://api.github.com/authorizations
#
# It must be encrypted using the travis gem
# http://about.travis-ci.org/docs/user/build-configuration/#Secure-environment-variables
#
# travis encrypt GH_OAUTH_TOKEN=b2797fff05e7461c4c8174fae08fb006cbadba9f
#
# Copy the resulting "secure" property here:
- secure: "AULkBgHqLbNbyzP5aQReyvXeV9SILenyofzkhve3lEUgn7UEvjxmpUKc05PO\neSw6MY9VZi26KFjBJN7ZLhx7pKEEfP16Q9Qs8uqL+2BzpZE/EQ8/egcO4UKQ\nleP2JhodJnEeCRlo1m71kYhyV4S8gKtqXBGAIOO01Mwl8oilQLo="
# GH_USER_NAME & GH_PROJECT_NAME
# The Github Account you created the OAuth token with and the repo you
# want to push the generated PDF to (gh-pages branch is used automatically)
- GH_USER_NAME: hsr-ba-ajw-2013
- GH_PROJECT_NAME: BA-Dokumentation
# GIT_AUTHOR_NAME & GIT_AUTHOR_EMAIL
# When pushing to the gh-pages branch, these informtion are used to
# perform the git commit
- GIT_AUTHOR_NAME: "TravisCI"
- GIT_AUTHOR_EMAIL: "[email protected]"
# CI_HOME
# A shortcut to the directory where travis cloned the actual git repo
- CI_HOME=`pwd`/$TRAVIS_REPO_SLUG
# RESULT_PDF_PATH
# A shortcut to the built PDF document
- RESULT_PDF_PATH=$CI_HOME/thesis.pdf
# TZ
# Timezone
- TZ="Europe/Zurich"