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

Commit

Permalink
add -quiet to solve log too log and increase git init in android
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmswindmill committed Jul 30, 2019
1 parent f07e90f commit e3e9a0a
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ script:
"ios" )
if npm run danger -- ci --dangerfile ./dangerfile-ios.js | grep -q "hasIosFile" ; then
# build WeexSDK and run WeexSDKTests
xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" || exit 1
xcodebuild -quiet -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" || exit 1
# build WeexDemo and run WeexDemo test
cd weex-playground/ios && mkdir tmp && mv * tmp;cd tmp
xcodebuild -workspace WeexDemo.xcworkspace test -scheme WeexDemo CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" || exit 1
xcodebuild -quiet -workspace WeexDemo.xcworkspace test -scheme WeexDemo CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination "platform=iOS Simulator,name=iPhone 6" || exit 1
fi
;;
esac
Expand Down Expand Up @@ -187,7 +187,7 @@ script:
if npm run danger -- ci --dangerfile ./dangerfile-static-check.js | grep -q "hasAndroidFile" ; then
echo "hasAndroidFile"
cd android
bundle exec danger --danger_id=androidLint --dangerfile=../Dangerfile-android
git init && bundle exec danger --danger_id=androidLint --dangerfile=../Dangerfile-android
fi
fi
Expand Down
22 changes: 21 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
GIT
remote: https://github.com/wrmswindmill/danger-code_style_validation.git
revision: 2fdd2bd13f9209356d1e2d6b2f6075e7d7ae8d6c
specs:
danger-code_style_validation (0.3.0)
danger-plugin-api (~> 1.0)

GEM
remote: https://rubygems.org/
specs:
Expand All @@ -9,6 +16,8 @@ GEM
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
ansi (1.5.0)
ast (2.4.0)
atomos (0.1.2)
claide (1.0.2)
claide-plugins (0.9.2)
Expand Down Expand Up @@ -64,6 +73,9 @@ GEM
no_proxy_fix
octokit (~> 4.7)
terminal-table (~> 1)
danger-android_lint (0.0.7)
danger-plugin-api (~> 1.0)
oga
danger-plugin-api (1.0.0)
danger (> 2.0)
danger-xcode_summary (0.5.0)
Expand All @@ -89,9 +101,15 @@ GEM
no_proxy_fix (0.1.2)
octokit (4.9.0)
sawyer (~> 0.8.0, >= 0.5.3)
oga (2.15)
ast
ruby-ll (~> 2.1)
open4 (1.3.4)
public_suffix (3.0.2)
rouge (2.0.7)
ruby-ll (2.1.2)
ansi
ast
ruby-macho (1.2.0)
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
Expand Down Expand Up @@ -119,9 +137,11 @@ PLATFORMS
DEPENDENCIES
cocoapods!
danger!
danger-android_lint!
danger-code_style_validation!
danger-xcode_summary!
xcpretty!
xcpretty-json-formatter!

BUNDLED WITH
1.16.2
2.0.2

0 comments on commit e3e9a0a

Please sign in to comment.