Skip to content

Commit

Permalink
Propagate error when reading configuration fails
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Aug 28, 2019
1 parent 4df4a6a commit dcc33b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,17 @@ script:
fi
- |
if [[ -v PRODUCT_TESTS_SUITE ]]; then
source "presto-product-tests/conf/product-tests-${PRODUCT_TESTS_CONFIG}.sh"
source "presto-product-tests/conf/product-tests-${PRODUCT_TESTS_CONFIG}.sh" &&
"presto-product-tests/bin/product-tests-${PRODUCT_TESTS_SUITE}.sh"
fi
- |
if [[ -v HIVE_TESTS ]]; then
source "presto-product-tests/conf/product-tests-${PRODUCT_TESTS_CONFIG}.sh"
source "presto-product-tests/conf/product-tests-${PRODUCT_TESTS_CONFIG}.sh" &&
presto-hive-hadoop2/bin/run_hive_tests.sh
fi
- |
if [[ -v HIVE_TESTS && -v HIVE_TESTS_AWS_ACCESS_KEY_ID ]]; then
source "presto-product-tests/conf/product-tests-${PRODUCT_TESTS_CONFIG}.sh"
source "presto-product-tests/conf/product-tests-${PRODUCT_TESTS_CONFIG}.sh" &&
env AWS_ACCESS_KEY_ID="${HIVE_TESTS_AWS_ACCESS_KEY_ID}" \
AWS_SECRET_ACCESS_KEY="${HIVE_TESTS_AWS_SECRET_ACCESS_KEY}" \
S3_BUCKET_ENDPOINT="${S3_TESTS_BUCKET_ENDPOINT}" \
Expand Down

0 comments on commit dcc33b8

Please sign in to comment.