[Mesa-dev] [PATCH 07/15] travis: rework "if test" blocks in the script section

Andres Gomez agomez at igalia.com
Fri Apr 28 10:57:54 UTC 2017


This is:

Reviewed-by: Andres Gomez <agomez at igalia.com>

On Thu, 2017-04-27 at 19:38 +0100, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
> 
> Split the "if test" blocks so that we get more sensible output in case
> of a failure.
> 
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
> ---
>  .travis.yml | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/.travis.yml b/.travis.yml
> index 8921429c7e9..a4fe00d8023 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -114,6 +114,8 @@ script:
>          --disable-llvm-shared-libs
>          ;
>        make && make check;
> -    elif test x$BUILD = xscons; then
> +    fi
> +
> +  - if test "x$BUILD" = xscons; then
>        scons llvm=1 && scons llvm=1 check;
>      fi
-- 
Br,

Andres


More information about the mesa-dev mailing list