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 <>
Acked-by: Eric Engestrom <>
Reviewed-by: Jose Fonseca <>
22 jobs for !1823 with travis-terminate in 19 minutes and 35 seconds (queued for 3 seconds)
merge request