travis: rework "if test" blocks in the script section
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 6 Apr 2017 13:23:36 +0000 (14:23 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 29 Apr 2017 12:35:17 +0000 (13:35 +0100)
commitabcfea23add91ffa7013a3c862712cfdaefcf8b0
tree85cf31de5ba1755760498ed01d1c6f5fd01dbc2d
parentae713a7b79f60b45befea7c40b6d2aa3d3789441
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 <emil.velikov@collabora.com>
Reviewed-by: Andres Gomez <agomez@igalia.com>
.travis.yml