Skip to content

Commit

Permalink
+ [ios] Add mention danger plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
cxfeng1 committed Jan 17, 2017
1 parent 63294c6 commit 740a770
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: objective-c
rvm: 2.0.0
before_install:
- gem install danger danger-xcode_summary xcpretty xcpretty-json-formatter
- gem install danger danger-xcode_summary danger-mention xcpretty xcpretty-json-formatter
script:
- xcodebuild -project ios/sdk/WeexSDK.xcodeproj test -scheme WeexSDKTests CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -destination 'platform=iOS Simulator,name=iPhone 6' | XCPRETTY_JSON_FILE_OUTPUT=ios/sdk/xcodebuild.json xcpretty -f `xcpretty-json-formatter`
- bundle exec danger
2 changes: 1 addition & 1 deletion Dangerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ warn("Big PR") if git.lines_of_code > 500
xcode_summary.ignored_files = '**/Pods/**'
xcode_summary.report 'ios/sdk/xcodebuild.json'


mention.run

# Find reviewers without parsing blame information
# from files matching to 'Pods/*'
Expand Down
8 changes: 4 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# frozen_string_literal: true
source "https://rubygems.org"

gem "xcpretty"
gem "xcpretty-json-formatter"
gem "danger"
gem "danger-xcode_summary"
# gem "xcpretty"
# gem "xcpretty-json-formatter"
# gem "danger"
# gem "danger-xcode_summary"

# gem "danger-mention"

Expand Down

0 comments on commit 740a770

Please sign in to comment.