-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
1 changed file
with
44 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,44 @@ | ||
# travis-ci - KLL Spec Travis Integration | ||
|
||
sudo: required | ||
dist: trusty | ||
|
||
# Install packages | ||
before_install: | ||
- sudo apt-get -qq update && sudo apt-get install -y --no-install-recommends texlive-fonts-recommended | ||
texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended tree texlive-pictures pgf | ||
poppler-utils latex2html | ||
- tree | ||
|
||
# Make sure system has correct versions | ||
install: | ||
- uname -a | ||
- tree | ||
- pdflatex --version | ||
- cmake --version | ||
|
||
# Build pdf | ||
script: | ||
- mkdir build | ||
- cd build | ||
- cmake .. | ||
- make | ||
- cp -f main.pdf kll-spec-${TRAVIS_BRANCH}.pdf | ||
- tree | ||
|
||
# Deploy pdf | ||
deploy: | ||
provider: releases | ||
api_key: $GITHUB_OAUTH_TOKEN | ||
file: kll-spec-${TRAVIS_BRANCH}.pdf | ||
skip_cleanup: true | ||
on: | ||
repo: kiibohd/kll-spec | ||
tags: true | ||
branch: | ||
- test | ||
- master | ||
- 0.3d | ||
- 0.4 | ||
- 0.5 | ||
|