Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmswindmill committed Jul 22, 2019
1 parent 45dbeaf commit b6711dc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Expand Up @@ -170,13 +170,14 @@ script:
echo "The value of hasAndroidFile is ${hasAndroidFile}"
if [[ "$hasAndroidFile" =~ "hasAndroidFile" ]]; then
# format code using google-java-format at first
for n in `find ./android -name "*.java"`; do
java -jar ./format-tool/google-java-format-1.7-all-deps.jar --replace $n
done
# for n in `find ./android -name "*.java"`; do
# java -jar ./format-tool/google-java-format-1.7-all-deps.jar --replace $n
# done
# then run android lint
echo "hasAndroidFile"
# echo "hasAndroidFile"
echo "run android lint"
cd android
./gradlew clean assembleDebug test lint
./gradlew lint
fi
fi
Expand Down

0 comments on commit b6711dc

Please sign in to comment.