Skip to content

Commit

Permalink
Add support for Travis CI
Browse files Browse the repository at this point in the history
- Verify that the the pdf can be generated without errors
- Publish the latest version to Github pages

The link to the pdf has also been added to the README.
  • Loading branch information
Muffo committed Jan 29, 2018
1 parent 523d808 commit 973b56b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sudo: required
dist: trusty
before_install:
- sudo apt-get -qq update
- sudo apt-get install -q -y texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
script:
- make
- mkdir build
- cp openssl-book.pdf build
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: true
local-dir: build
on:
branch: master
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ contain content that should enable the reader to get to a level of familiarity
with OpenSSL that they can then use the other documentation sources (such as the
man pages) to find detailed information as required.

The latest version of the book is available at:
https://openssl.github.io/openssl-book/openssl-book.pdf

NOTE: This is a very initial draft and there is no content in the guide yet!

Building the OpenSSL Guide
Expand Down

0 comments on commit 973b56b

Please sign in to comment.