diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-04-15 14:54:30 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-04-15 16:05:50 -0700 |
commit | 96611c630f643d474444aa988f82db2f06376104 (patch) | |
tree | dcce2b9802e30540c7fc26a130cdad39fefac45b /scripts/qt55/travisbuild.sh | |
parent | 40755987edaa711cb55cf41d094f2728a67d37d0 (diff) | |
download | subsurface-96611c630f643d474444aa988f82db2f06376104.tar.gz |
Travis: make qt55 build report build failures correctly
The proxy for this is a check to see if the Subsurface binary was
created (in which case we assume that the build succeeded).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/qt55/travisbuild.sh')
-rw-r--r-- | scripts/qt55/travisbuild.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/qt55/travisbuild.sh b/scripts/qt55/travisbuild.sh index c3fcb846f..060d36d46 100644 --- a/scripts/qt55/travisbuild.sh +++ b/scripts/qt55/travisbuild.sh @@ -3,5 +3,7 @@ set -x set -e -docker exec -t builder subsurface/scripts/build.sh -desktop +docker exec -t builder subsurface/scripts/build.sh -desktop 2>&1 | tee build.log +# fail the build if we didn't create the target binary +grep /workspace/install-root/bin/subsurface build.log |