Skip to content

Commit

Permalink
Added initial danger integration
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed Mar 7, 2016
1 parent 0779114 commit a660efd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
warn("Big PR") if lines_of_code > 500

if (pr_body + pr_title).include?("WIP")
warn("Pull Request is Work in Progress")
end

if pr_body.length < 5
warn "Please provide a changelog summary in the Pull Request description @#{pr_author}"
end
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ source "https://rubygems.org"
gemspec path: "fastlane"

gem "rake"
gem "danger"
1 change: 1 addition & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ dependencies:
test:
override:
- bundle exec rake test_all
- bundle exec danger

0 comments on commit a660efd

Please sign in to comment.