Skip to content

Commit

Permalink
Adds Danger
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Apr 7, 2017
1 parent a56d4d0 commit a03de2b
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ rvm:
# TODO currently unavailable: https://github.com/travis-ci/travis-ci/issues/2918
# - 2.0.0-p247

matrix:
include:
- rvm: 2.4.0
env: COCOAPODS_CI_TASKS=LINT

script:
- bundle exec rake spec:all
- if [ "$COCOAPODS_CI_TASKS" = "LINT" ]; then bundle exec danger; fi

addons:
code_climate:
repo_token: fcf708528e1eca6e8a8bf8f7be3bd24e4478b019c4cd7860325c141dd52aa152
2 changes: 2 additions & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Re-use CocoaPods' Dangerfile for CHANGELOG, xit and merge commit checks
danger.import_dangerfile(github: "cocoapods/cocoapods")
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ group :development do

gem 'codeclimate-test-reporter', '~> 0.4.1', :require => nil
gem 'rubocop'
gem 'danger'
gem 'simplecov'
end

Expand Down
38 changes: 38 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,42 @@ GEM
remote: http://rubygems.org/
specs:
CFPropertyList (2.3.5)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
ast (2.3.0)
bacon (1.2.0)
claide-plugins (0.9.2)
cork
nap
open4 (~> 1.3)
codeclimate-test-reporter (0.4.8)
simplecov (>= 0.7.1, < 1.0.0)
colored (1.2)
colored2 (3.1.2)
cork (0.2.0)
colored (~> 1.2)
danger (4.3.3)
claide (~> 1.0)
claide-plugins (>= 0.9.2)
colored2 (~> 3.1)
cork (~> 0.1)
faraday (~> 0.9)
faraday-http-cache (~> 1.0)
git (~> 1)
kramdown (~> 1.5)
octokit (~> 4.2)
terminal-table (~> 1)
docile (1.1.5)
faraday (0.12.0.1)
multipart-post (>= 1.2, < 3)
faraday-http-cache (1.3.1)
faraday (~> 0.8)
ffi (1.9.17)
git (1.3.0)
kicker (3.0.0)
listen (~> 1.3.0)
notify (~> 0.5.2)
kramdown (1.13.2)
listen (1.3.1)
rb-fsevent (>= 0.9.3)
rb-inotify (>= 0.9)
Expand All @@ -44,13 +70,19 @@ GEM
mocha-on-bacon (0.2.3)
mocha (>= 0.13.0)
multi_json (1.12.1)
multipart-post (2.0.0)
nanaimo (0.2.3)
nap (1.1.0)
notify (0.5.2)
octokit (4.7.0)
sawyer (~> 0.8.0, >= 0.5.3)
open4 (1.3.4)
parser (2.4.0.0)
ast (~> 2.2)
powerpack (0.1.1)
prettybacon (0.0.2)
bacon (~> 1.2)
public_suffix (2.0.5)
rainbow (2.2.1)
rake (12.0.0)
rb-fsevent (0.9.8)
Expand All @@ -65,11 +97,16 @@ GEM
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-progressbar (1.8.1)
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
simplecov (0.9.2)
docile (~> 1.1.0)
multi_json (~> 1.0)
simplecov-html (~> 0.9.0)
simplecov-html (0.9.0)
terminal-table (1.7.3)
unicode-display_width (~> 1.1.1)
unicode-display_width (1.1.3)

PLATFORMS
Expand All @@ -79,6 +116,7 @@ DEPENDENCIES
bacon
claide!
codeclimate-test-reporter (~> 0.4.1)
danger
json!
kicker
mocha
Expand Down

0 comments on commit a03de2b

Please sign in to comment.