tests: test hdfs on cron and releases

Related to
https://github.com/iterative/dvc/issues/1629#issuecomment-498023424

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-06-02 14:44:56 +03:00
parent 9a5a01b2b1
commit 76c4755865
+5
View File
@@ -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