Commit 6ac1d9b4 authored by Vinson Lee's avatar Vinson Lee Committed by Dylan Baker

travis: Fail build if any command in if statement fails.

Travis is checking the exit code of the entire if statement.

Fixes: 64ffc289 ("travis: add MacOS Scons build")
Signed-off-by: Vinson Lee's avatarVinson Lee <>
Acked-by: Eric Engestrom's avatarEric Engestrom <>
Reviewed-by: Jose Fonseca's avatarJose Fonseca <>
(cherry picked from commit 029b07b2)
parent 529db83e
......@@ -53,10 +53,10 @@ install:
- if test "x$BUILD" = xmeson; then
meson _build -Dbuild-tests=true;
ninja -C _build;
ninja -C _build test;
ninja -C _build || travis_terminate 1;
ninja -C _build test || travis_terminate 1;
- if test "x$BUILD" = xscons; then
scons check;
scons || travis_terminate 1;
scons check || travis_terminate 1;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment