Add Java code checks to travis build
@@ -60,7 +60,12 @@ mv cloud-data-win64.zip $API_STATIC_PATH/cloud-data-win64.zip
# Create distribution tgz
cd ..
-./gradlew distTar -PbuildNumber=${TRAVIS_BUILD_NUMBER}.${TRAVIS_COMMIT} \
+./gradlew api:checkstyleMain \
+ api:pmdMain \
+ api:checkstyleTest \
+ api:pmdTest \
+ distTar \
+ -PbuildNumber=${TRAVIS_BUILD_NUMBER}.${TRAVIS_COMMIT} \
-Pprofile=release \
-x test \
-x client:buildUI \
