Message ID | 20200221032637.142330-3-xypron.glpk@gmx.de |
---|---|
State | New |
Headers | show |
Series | doc: build HTML docs in CI | expand |
On Fri, Feb 21, 2020 at 11:27 AM Heinrich Schuchardt <xypron.glpk at 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 at gmx.de> > --- > .travis.yml | 5 +++++ > 1 file changed, 5 insertions(+) > Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
On Fri, Feb 21, 2020 at 11:27 AM Heinrich Schuchardt <xypron.glpk at 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 at gmx.de> > --- > .travis.yml | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/.travis.yml b/.travis.yml > index e6db9d6a72..a5918dd5d9 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -38,6 +38,7 @@ addons: > - libisl15 > - clang-7 > - srecord > + - graphviz > > install: > # Clone uboot-test-hooks > @@ -360,6 +361,10 @@ matrix: > - name: "grep FIXME HACK" > script: > - grep -r FIXME . > + # build HTML documentation > + - name: "htmldocs" > + script: > + - make htmldocs Could you insert this after cppcheck, to align with what you did in gitlab and azure? > # search for HACK within source tree and ignore HACKKIT board > script: > - grep -r HACK . | grep -v HACKKIT > -- Regards, Bin
diff --git a/.travis.yml b/.travis.yml index e6db9d6a72..a5918dd5d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,6 +38,7 @@ addons: - libisl15 - clang-7 - srecord + - graphviz install: # Clone uboot-test-hooks @@ -360,6 +361,10 @@ matrix: - name: "grep FIXME HACK" script: - grep -r FIXME . + # build HTML documentation + - name: "htmldocs" + script: + - make htmldocs # search for HACK within source tree and ignore HACKKIT board script: - grep -r HACK . | grep -v HACKKIT
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 at gmx.de> --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) -- 2.25.0