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: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
This commit is contained in:
Emil Velikov
2017-04-06 14:23:36 +01:00
committed by Emil Velikov
parent ae713a7b79
commit abcfea23ad

View File

@@ -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