Merge pull request #432 from mapbox/travis-bash-strict

refs #431: bring back Travis Bash strictness
This commit is contained in:
Justin R. Miller
2014-08-18 12:12:25 -07:00
3 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env bash
set -e
set -o pipefail
if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
#
# install Linux dependencies

View File

@@ -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