From 76c47558655ba8e6bafa8efa06f6368a12b030f6 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Sun, 2 Jun 2019 14:44:56 +0300 Subject: [PATCH] tests: test hdfs on cron and releases Related to https://github.com/iterative/dvc/issues/1629#issuecomment-498023424 Signed-off-by: Ruslan Kuprieiev --- scripts/ci/install_hadoop.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/ci/install_hadoop.sh b/scripts/ci/install_hadoop.sh index 4ef1f2ee4..7306c4a9e 100755 --- a/scripts/ci/install_hadoop.sh +++ b/scripts/ci/install_hadoop.sh @@ -5,6 +5,11 @@ set -x set -e +if [[ -z "$TRAVIS_TAG" && "$TRAVIS_EVENT_TYPE" != "cron" ]]; then + echo "Skipping installing hadoop." + exit 0 +fi + sudo apt-get update -y sudo apt-get install openjdk-8-jdk java -version