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

Commit

Permalink
remove android lint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmswindmill committed Jul 31, 2019
1 parent 3e66136 commit 2583824
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Expand Up @@ -189,12 +189,13 @@ script:
if npm run danger -- ci --dangerfile ./dangerfile-static-check.js | grep -q "hasAndroidFile" ; then
echo "hasAndroidFile"
cd android
# use androidLint danger plugin to report android lint information
# androidLint danger need the project .git directory to get github repo infomation
# and it read from .git from current directory
# so temp to mv .git to current directory and mv .git to it's origin directory after exec androidLint plugin
# mv ../.git ./ && bundle exec danger --danger_id=androidLint --dangerfile=../Dangerfile-android && mv .git ../
bundle exec danger --danger_id=androidLint --dangerfile=../Dangerfile-android
# # use androidLint danger plugin to report android lint information
# # androidLint danger need the project .git directory to get github repo infomation
# # and it read from .git from current directory
# # so temp to mv .git to current directory and mv .git to it's origin directory after exec androidLint plugin
# # mv ../.git ./ && bundle exec danger --danger_id=androidLint --dangerfile=../Dangerfile-android && mv .git ../
# bundle exec danger --danger_id=androidLint --dangerfile=../Dangerfile-android
./gradlew lint
fi
fi
Expand Down

0 comments on commit 2583824

Please sign in to comment.