diff mbox

travis: catch doxygen errors

Message ID 20170209193135.19720-1-maxim.uvarov@linaro.org
State Superseded
Headers show

Commit Message

Maxim Uvarov Feb. 9, 2017, 7:31 p.m. UTC
make doxygen-doc does not return negative code on
errors. Do it manually.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
 .travis.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.11.0.295.gd7dffce

Comments

Bill Fischofer Feb. 9, 2017, 9:53 p.m. UTC | #1
Looks reasonable

On Thu, Feb 9, 2017 at 1:31 PM, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:
> make doxygen-doc does not return negative code on

> errors. Do it manually.

>

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>


Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>


> ---

>  .travis.yml | 4 +++-

>  1 file changed, 3 insertions(+), 1 deletion(-)

>

> diff --git a/.travis.yml b/.travis.yml

> index 9544ec8f..954174fa 100644

> --- a/.travis.yml

> +++ b/.travis.yml

> @@ -112,7 +112,9 @@ script:

>

>          - ./bootstrap

>          - ./configure

> -        - make doxygen-doc

> +        - doxygen does not trap on warnings, check for them here.

> +        - make doxygen-doc |tee doxygen.log

> +        - ! fgrep -r warning ./doxygen.log

>          - make distcheck

>

>          - ./bootstrap

> --

> 2.11.0.295.gd7dffce

>
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index 9544ec8f..954174fa 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -112,7 +112,9 @@  script:
 
         - ./bootstrap
         - ./configure
-        - make doxygen-doc
+        - doxygen does not trap on warnings, check for them here.
+        - make doxygen-doc |tee doxygen.log
+        - ! fgrep -r warning ./doxygen.log
         - make distcheck
 
         - ./bootstrap