summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2014-08-18 11:52:16 -0700
committerJustin R. Miller <incanus@codesorcery.net>2014-08-18 11:52:16 -0700
commita89c610a0f4a1d04d71abfaf031de533c2975779 (patch)
tree43e46089fe94049a0a6e1d0875d5b0862c7d7b4d /scripts
parentde72cf45afe6386bc9c798fb776fbdb708a62131 (diff)
downloadqtlocation-mapboxgl-a89c610a0f4a1d04d71abfaf031de533c2975779.tar.gz
refs #431: bring back Travis Bash strictness
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/travis_before_install.sh3
-rwxr-xr-xscripts/travis_script.sh5
2 files changed, 7 insertions, 1 deletions
diff --git a/scripts/travis_before_install.sh b/scripts/travis_before_install.sh
index 0827f98438..e9b3384dec 100755
--- a/scripts/travis_before_install.sh
+++ b/scripts/travis_before_install.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
+set -e
+set -o pipefail
+
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
#
# install Linux dependencies
diff --git a/scripts/travis_script.sh b/scripts/travis_script.sh
index 8127083835..61c2e52059 100755
--- a/scripts/travis_script.sh
+++ b/scripts/travis_script.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
+set -e
+set -o pipefail
+
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
#
# build & test Linux
@@ -11,7 +14,7 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
${TEST}
done
cd ../..
- (cd ./node_modules/mapbox-gl-test-suite/ && (./bin/compare_images.js; ./bin/deploy_results.sh))
+ (cd ./node_modules/mapbox-gl-test-suite/ && (./bin/compare_images.js || true; ./bin/deploy_results.sh))
elif [[ ${TRAVIS_OS_NAME} == "osx" ]]; then
#
# build OS X