Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit b0a4cd9

Browse files
committed
chore(scripts): fail on pipe failures
Closes #922 #1172 #1289 #1291
1 parent f3f55ab commit b0a4cd9

11 files changed

+11
-11
lines changed

scripts/analyze.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -e -o pipefail
44

55
. $(dirname $0)/env.sh
66

scripts/env.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/false
2-
set -e
2+
set -e -o pipefail
33

44
if [[ -z $ENV_SET ]]; then
55
export ENV_SET=1

scripts/run-e2e-test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Run E2E / Protractor tests.
44

5-
set -e
5+
set -e -o pipefail
66

77
. $(dirname $0)/env.sh
88

scripts/run-test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -e -o pipefail
44

55
. $(dirname $0)/env.sh
66

scripts/sauce/sauce_connect_setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -e -o pipefail
44

55
# Setup and start Sauce Connect for your TravisCI build
66
# This script requires your .travis.yml to include the following two private env variables:

scripts/test-expression-extractor.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -e -o pipefail
44

55
. $(dirname $0)/env.sh
66

scripts/travis/after-success.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -e
2+
set -e -o pipefail
33

44
echo '*******************'
55
echo '** AFTER_SUCCESS **'

scripts/travis/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -e -o pipefail
44
. "$(dirname $0)/../env.sh"
55

66
echo '==========='

scripts/travis/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -e -o pipefail
44

55
sh -e /etc/init.d/xvfb start
66

scripts/travis/presubmit.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -e
2+
set -e -o pipefail
33

44
# If we're on the presubmit branch, the dev Dart release, and all unit
55
# tests pass, merge the presubmit branch into master and push it.

scripts/travis/setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -e
3+
set -e -o pipefail
44

55

66
echo Fetch Dart channel: $CHANNEL

0 commit comments

Comments
 (0)