travis: build HTML docs
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 21 Feb 2020 17:24:00 +0000 (18:24 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 25 Feb 2020 14:06:40 +0000 (09:06 -0500)
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>
.travis.yml

index 11f9757d889f7c41a05b3d775e633b532fe5837a..7ab855acb212480c4fc3741bc262cff3b9eaeb4c 100644 (file)
@@ -39,6 +39,7 @@ addons:
     - libisl15
     - clang-7
     - srecord
+    - graphviz
 
 install:
  # Clone uboot-test-hooks
@@ -353,6 +354,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: