Commit 8458839b authored by Emil Velikov's avatar Emil Velikov Committed by Andres Gomez

travis: rework "if test" blocks in the script section

Split the "if test" blocks so that we get more sensible output in case
of a failure.
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andres Gomez's avatarAndres Gomez <agomez@igalia.com>
(cherry picked from commit abcfea23)
parent 81a63f6f
......@@ -124,6 +124,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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment