From 8458839b05f5871e73e5bc209af3e8d0dead40eb Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 6 Apr 2017 14:23:36 +0100 Subject: [PATCH] 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 Reviewed-by: Andres Gomez (cherry picked from commit abcfea23add91ffa7013a3c862712cfdaefcf8b0) --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a39c633a184..5b4bb4bd7aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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