diff mbox series

[v2,2/5] travis: build HTML docs

Message ID 20200221172403.5358-3-xypron.glpk@gmx.de
State Accepted
Commit bb9a76ea67fe9b85961b50d9f95b772d6859edaa
Delegated to: Tom Rini
Headers show
Series make htmldocs in CI | expand

Commit Message

Heinrich Schuchardt Feb. 21, 2020, 5:24 p.m. UTC
Several patches delivered incorrect restructured text as documentation.
We should be able to discover this in Travis CI.

Provide a build step for 'make htmldocs'.

Add required package graphviz.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
v2:
	change sequence of targets: put htmldocs after cppcheck
---
 .travis.yml | 5 +++++
 1 file changed, 5 insertions(+)

--
2.25.0

Comments

Bin Meng Feb. 22, 2020, 2:47 a.m. UTC | #1
On Sat, Feb 22, 2020 at 1:24 AM Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> Several patches delivered incorrect restructured text as documentation.
> We should be able to discover this in Travis CI.
>
> Provide a build step for 'make htmldocs'.
>
> Add required package graphviz.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
> v2:
>         change sequence of targets: put htmldocs after cppcheck
> ---
>  .travis.yml | 5 +++++
>  1 file changed, 5 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tom Rini Feb. 25, 2020, 2:07 p.m. UTC | #2
On Fri, Feb 21, 2020 at 06:24:00PM +0100, Heinrich Schuchardt wrote:

> Several patches delivered incorrect restructured text as documentation.
> We should be able to discover this in Travis CI.
> 
> Provide a build step for 'make htmldocs'.
> 
> Add required package graphviz.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index e6db9d6a72..911c85e130 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -38,6 +38,7 @@  addons:
     - libisl15
     - clang-7
     - srecord
+    - graphviz

 install:
  # Clone uboot-test-hooks
@@ -352,6 +353,10 @@  matrix:
     - name: "cppcheck"
       script:
         - cppcheck --force --quiet --inline-suppr .
+    # build HTML documentation
+    - name: "htmldocs"
+      script:
+        - make htmldocs
     # search for TODO within source tree
     - name: "grep TODO"
       script: