File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e
4+
35for required_variable in \
46 GOOGLE_CLOUD_PROJECT \
57 GOOGLE_APPLICATION_CREDENTIALS \
@@ -23,13 +25,12 @@ export TRANSLATE_KEY="$TRANSLATE_API_KEY"
2325
2426script_directory=" $( dirname " ` realpath $0 ` " ) "
2527repo_directory=" $( dirname $script_directory ) "
26- return_status=0 # no failures
2728
2829for product in \
29- logging \
3030 bigquery \
3131 datastore \
3232 language \
33+ logging \
3334 pubsub \
3435 speech \
3536 storage \
@@ -39,12 +40,5 @@ for product in \
3940 echo " [$product ]"
4041 cd " $repo_directory /$product /"
4142 bundle install
42- bundle exec rspec --format documentation
43-
44- # Check for a spec failure
45- if [ $? != 0 ]; then
46- return_status=1
47- fi
43+ bundle exec rspec --format documentation --fail-fast
4844done
49-
50- exit $return_status
You can’t perform that action at this time.
0 commit comments