travis: conditionalize building of prerequisites on if OS=linux
authorJon Turney <jon.turney@dronecode.org.uk>
Thu, 1 Feb 2018 15:19:08 +0000 (15:19 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 2 Feb 2018 15:28:52 +0000 (15:28 +0000)
commit7d1ec6d6a92f15a24377738f12e59d80bab96da3
tree2cfbdaaf92d5571545da5e9ec7c27ab79d0dedd2
parent63041ba61308a0576c73cb6bc3d98540669188cf
travis: conditionalize building of prerequisites on if OS=linux

Use a '|' YAML literal block to avoid the convoluted syntax needed to put
the entire conditional on a single line.

Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
.travis.yml