Skip to content

Commit

Permalink
Added danger, PR linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed Sep 5, 2016
1 parent d443bfd commit 31e4a74
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 13 deletions.
42 changes: 29 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,35 @@ language: ruby

cache: bundler

rvm:
- 2.2.3
- 2.1.7
- 2.0.0
- 1.9.3

env:
- GRAPE_SWAGGER_VERSION=0.8.0
- GRAPE_SWAGGER_VERSION=0.9.0
- GRAPE_SWAGGER_VERSION=0.11.0
- GRAPE_SWAGGER_VERSION=0.20.2
- GRAPE_SWAGGER_VERSION=HEAD

matrix:
include:
- rvm: 2.3.1
script:
- bundle exec danger
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.8.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.9.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.11.0
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=0.20.2
- rvm: 2.3.1
env:
- GRAPE_SWAGGER_VERSION=HEAD
- rvm: 2.3.0
- rvm: 2.2.5
- rvm: 2.0.0
- rvm: rbx-2
- rvm: ruby-head
- rvm: jruby-head
allow_failures:
- env: GRAPE_SWAGGER_VERSION=HEAD
- rvm: ruby-head
- rvm: jruby-head
- rvm: rbx-2

1 change: 1 addition & 0 deletions Dangerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
danger.import_dangerfile(gem: 'ruby-grape-danger')
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,7 @@ when '0.20.2'
else
gem 'grape-swagger', version
end

group :test do
gem 'ruby-grape-danger', '~> 0.1.0', require: false
end

0 comments on commit 31e4a74

Please sign in to comment.