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>
diff --git a/.travis.yml b/.travis.yml
index 8921429..a4fe00d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -114,6 +114,8 @@
--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