Skip to content

Commit

Permalink
Adding Travis-CI deploy build for kll-spec
Browse files Browse the repository at this point in the history
- Builds then deploys directly on GitHub (more convenient than OverLeaf)
- Adding banners for each of the build branches
  • Loading branch information
haata committed Oct 9, 2016
1 parent 7b88fe8 commit 757e09e
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 4 deletions.
43 changes: 43 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# 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:
secure: HYOC4DH7o5Oc3pMUOzHw5g8/sGZNmmbLpDoxxE+e9qlb2MIJjrBaud8T1KWNknvG2y4lcJGpE48UXYvCgtJbd6Jlk3USFntfBoHgl8iTmt7mFTfgZLvmArPYwwnFolGMHpKoegsetpzSxAKQZFpofxiXVbi9hklQMFlIzTaA2aVuVKZfU/wChQI4K4uxKgAmG/Dyr1sCy0pEp2MIV6sRt3ESK1GO6o5+4bLksoAHu6NuJQbNrueN2wWsyYKFF0FwwOk85SUOpI+bFH7yzxkE7fPDOvnrnvT/9j/sHOxXivOOLaZCIc4FcKt7S2dUK3dCLZT7+jVXX5QcWIjnbT1vlJJu5FBgwunBo2Mh3FX+s0uQ24jMQV9/11YbClqKTyiqWBZ0qLwirdxf25ACS2tHQdRnmFeu8JGRrTNiMFATROc3M62FX5qvUJe1d7lGY2tWNsmTfSQRjXI6Wn6S0sthJxmY5Uhli9GMCVwzw8ChA5qwMHZl0btqVnmOJd2HAjFTz30ZixUQzyhIgPEh6iJcKxLsHPGoXXXWFthBVh5zgzYaNOSTbQu59pMZd0rvdoBhUjqnlpVJNueVrCFiCFKVWTwsSooEn+f1Laq3RDeMjhWYdXwbHoTILoP8+KZN1L+C7l3JMz8i5I7/nIi/SrYnZjp5a63hEVNTlhZ1Nxk7xY8=
file: kll-spec-${TRAVIS_BRANCH}.pdf
skip_cleanup: true
on:
repo: kiibohd/kll-spec
tags: true
branch:
- test
- master
- 0.5

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ KLL Spec

[github](https://github.com/kiibohd/kll-spec) has the master copy of the [KLL Spec](https://input.club/kll/).

For convenience there keep up-to-date copies on [Overleaf](https://www.overleaf.com).
* [0.3d - Stable](https://www.overleaf.com/read/zzqbdwqjfwwf)
For convenience there are up-to-date copies are available.
* [0.3d - **Stable**](https://www.overleaf.com/read/zzqbdwqjfwwf)
* [0.4](https://www.overleaf.com/read/mnnqqpnxhhyr)
* [0.5 - Next Release](https://www.overleaf.com/read/cfqydmrpfdrs)
* [![Build Status](https://travis-ci.org/kiibohd/kll-spec.svg?branch=0.5)](https://travis-ci.org/kiibohd/kll-spec) [0.5 - *Next Release*](https://www.overleaf.com/read/cfqydmrpfdrs)
* [![Build Status](https://travis-ci.org/kiibohd/kll-spec.svg?branch=master)](https://travis-ci.org/kiibohd/kll-spec) [master - Future](https://www.overleaf.com/read/cfqydmrpfdrs)


Generating
Expand All @@ -24,7 +25,7 @@ cmake ..
make
```

**NOTE**: Uses a lot of LaTex extra packages. It is more than likely you'll be missing some.
**NOTE**: Uses a lot of LaTex extra packages. It is more than likely you'll be missing some. See [.travis.yml](.travis.yml) for a possible set of required packages.


Suggestions/Features/Fixes
Expand Down

0 comments on commit 757e09e

Please sign in to comment.