diff --git a/.travis.yml b/.travis.yml index 2a6217a..a7b4552 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,10 @@ cache: bundler matrix: include: - - rvm: 2.3.0 + - rvm: 2.3.1 + script: + - bundle exec danger + - rvm: 2.3.1 - rvm: 2.2 - rvm: 2.1 - rvm: ruby-head diff --git a/Dangerfile b/Dangerfile new file mode 100644 index 0000000..3a1ec6e --- /dev/null +++ b/Dangerfile @@ -0,0 +1 @@ +# inherits from https://github.com/ruby-grape/danger diff --git a/Gemfile b/Gemfile index 032e8be..8784217 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,7 @@ source 'https://rubygems.org' gemspec gem 'grape-swagger', github: 'ruby-grape/grape-swagger' +gem 'danger', '~> 2.0', require: false if RUBY_VERSION < '2.2.2' gem 'rack', '<2.0.0'