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

Emil Velikov emil.l.velikov at gmail.com
Fri Apr 7 19:05:40 UTC 2017


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 350ffa63dab..bf1f710dea3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -123,6 +123,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
-- 
2.11.1



More information about the mesa-dev mailing list