Skip to content

Commit 50506b7

Browse files
committed
Add a Travis CI config
Add an initial Travis CI configuration file. Currently, the output is not deployed anywhere, so it's just pass/fail for the building of pdf and html. The CI build is here: https://travis-ci.org/devicetree-org/devicetree-specification Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Rob Herring <[email protected]>
1 parent f08db57 commit 50506b7

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.travis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
sudo: false
2+
dist: trusty
3+
4+
cache:
5+
apt: true
6+
7+
env:
8+
global:
9+
- SPHINXBUILD=~/.local/bin/sphinx-build
10+
11+
addons:
12+
apt:
13+
packages:
14+
- python-pip
15+
- latexmk
16+
- latexdiff
17+
- texlive
18+
- texlive-latex-extra
19+
- texlive-humanities
20+
- texlive-generic-recommended
21+
- graphviz
22+
- texlive-generic-extra
23+
24+
install:
25+
- pip install --user mako
26+
- pip install --user Sphinx
27+
28+
script:
29+
- make latexpdf
30+
- make html
31+
- make singlehtml
32+

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This [repository](https://github.com/devicetree-org/devicetree-specification) ho
88
* Use this mailing list for submitting patches, questions and general discussion
99
* Sign up to the mailing list at http://vger.kernel.org/vger-lists.html#devicetree-spec
1010

11-
## Build Instructions ##
11+
## Build Instructions [![Build Status](https://travis-ci.org/devicetree-org/devicetree-specification.svg)](https://travis-ci.org/devicetree-org/devicetree-specification) ##
1212

1313
Requirements:
1414
* Sphinx: http://sphinx-doc.org/contents.html

0 commit comments

Comments
 (0)