summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-04-06 14:23:36 +0100
committerEmil Velikov <[email protected]>2017-04-29 13:35:17 +0100
commitabcfea23add91ffa7013a3c862712cfdaefcf8b0 (patch)
tree85cf31de5ba1755760498ed01d1c6f5fd01dbc2d /.travis.yml
parentae713a7b79f60b45befea7c40b6d2aa3d3789441 (diff)
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 <[email protected]> Reviewed-by: Andres Gomez <[email protected]>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8921429c7e9..a4fe00d8023 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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