From dcc33b89f069b8956c39704eadc51cd583112202 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Mon, 26 Aug 2019 13:22:12 +0200 Subject: [PATCH] Propagate error when reading configuration fails --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 14d55b4fd6a3c..c3846ecec1cf1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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}" \