travis-ci: run in bash, with the "unofficial strict mode"
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2016 13:03:46 +0000 (13:03 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 29 Nov 2016 12:36:38 +0000 (12:36 +0000)
commit8dc928d5ea364e2f12ecb6a1165eba60e9784392
tree7a8527ce709db9b2bf35f57dca154bbb421d90b3
parent0dd271a5c2e3e3889d0b06c7041af7746784607d
travis-ci: run in bash, with the "unofficial strict mode"

set -u forces us to set all variables that we use (for example with the
${foo:=bar} syntax to take an existing value or set a default), or use the
${foo:-bar} syntax to make it explicit that the variable might be unset.

set -o pipefail (which is a bash feature) detects failure in non-last
elements of a pipeline.

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98889
tools/ci-build.sh