diff options
Diffstat (limited to 'dev/scalastyle')
-rwxr-xr-x | dev/scalastyle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dev/scalastyle b/dev/scalastyle index 19955b9aaa..7b572f6a89 100755 --- a/dev/scalastyle +++ b/dev/scalastyle @@ -18,6 +18,10 @@ # echo -e "q\n" | sbt/sbt clean scalastyle > scalastyle.txt +# Check style with YARN alpha built too +SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt +# Check style with YARN built too +SPARK_HADOOP_VERSION=2.2.0 SPARK_YARN=true sbt/sbt yarn/scalastyle >> scalastyle.txt ERRORS=$(cat scalastyle.txt | grep -e "\<error\>") if test ! -z "$ERRORS"; then echo -e "Scalastyle checks failed at following occurrences:\n$ERRORS" |