Quoting Rob Herring (2017-08-08 16:51:09) > 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 > > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> > --- > .travis.yml | 34 ++++++++++++++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 .travis.yml > > diff --git a/.travis.yml b/.travis.yml > new file mode 100644 > index 000000000000..8426aa80db66 > --- /dev/null > +++ b/.travis.yml > @@ -0,0 +1,34 @@ > +language: c Can't use python? O well. > + > +sudo: false > +dist: trusty > + > +cache: > + apt: true > + > +env: > + global: > + - SPHINXBUILD=~/.local/bin/sphinx-build > + > +addons: > + apt: > + packages: > + - python-pip > + - latexmk > + - latexdiff > + - texlive Trailing whitespace. > + - texlive-latex-extra > + - texlive-humanities > + - texlive-generic-recommended > + - graphviz > + - texlive-generic-extra > + > +install: > + - pip install --user mako > + - pip install --user Sphinx Trailing whitespace on these two lines as well. > + > +script: > + - make latexpdf > + - make html > + - make singlehtml > + Can we add the CI badge to the Readme too? ---8<---- diff --git a/README.md b/README.md index 7eb3437f8260..55717b49582e 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ This [repository](https://github.com/devicetree-org/devicetree-specification) ho * Use this mailing list for submitting patches, questions and general discussion * Sign up to the mailing list at http://vger.kernel.org/vger-lists.html#devicetree-spec -## Build Instructions ## +## Build Instructions [![Build Status](https://travis-ci.org/devicetree-org/devicetree-specification.svg)](https://travis-ci.org/devicetree-org/devicetree-specification) ## Requirements: * Sphinx: http://sphinx-doc.org/contents.html -- To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html