travis: Fail build if any command in if statement fails.
authorVinson Lee <vlee@freedesktop.org>
Fri, 30 Aug 2019 06:15:29 +0000 (23:15 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 31 Aug 2019 19:20:04 +0000 (12:20 -0700)
commit029b07b2adbde4466e4776e10cf37ec30aee4f1f
tree777e4bbb47593178263e6a6ddc1cb9c167dd89cc
parent3664a6600eb0efbb4606f0b59730df3088b3b490
travis: Fail build if any command in if statement fails.

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

Fixes: 64ffc289be89 ("travis: add MacOS Scons build")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Acked-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
.travis.yml