Skip to content

Commit e656ac8

Browse files
committed
Add support for Travis CI
- 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.
1 parent 523d808 commit e656ac8

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
sudo: required
2+
dist: trusty
3+
before_install:
4+
- sudo apt-get -qq update
5+
- sudo apt-get install -q -y texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
6+
script:
7+
- make
8+
- mkdir build
9+
- cp openssl-book.pdf build
10+
deploy:
11+
provider: pages
12+
skip-cleanup: true
13+
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
14+
keep-history: true
15+
local-dir: build
16+
on:
17+
branch: master

README

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ contain content that should enable the reader to get to a level of familiarity
2323
with OpenSSL that they can then use the other documentation sources (such as the
2424
man pages) to find detailed information as required.
2525

26+
The latest draft of the book is available at:
27+
https://openssl.github.io/openssl-book/openssl-book.pdf
28+
2629
NOTE: This is a very initial draft and there is no content in the guide yet!
2730

2831
Building the OpenSSL Guide

0 commit comments

Comments
 (0)