Skip to content

Commit

Permalink
Updates travis ci config. (#810)
Browse files Browse the repository at this point in the history
- makes rubocop happy, after update
  • Loading branch information
LeFnord committed Oct 9, 2020
1 parent 08b8c2f commit 5d15589
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ Layout/SpaceAroundMethodCallOperator:

# Lint stuff
#
Lint/ConstantDefinitionInBlock:
Exclude:
- spec/**/*

Lint/DeprecatedOpenSSLConstant:
Enabled: true

Expand Down
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ after_success:
rvm:
- 2.5.8
- 2.6.6
- 2.7.1
- 2.7.2
env:
- GRAPE_VERSION=1.3.3
- GRAPE_VERSION=1.4.0 MODEL_PARSER=grape-swagger-entity
- GRAPE_VERSION=1.4.0 MODEL_PARSER=grape-swagger-representable
- GRAPE_VERSION=1.4.0
- GRAPE_VERSION=1.5.0 MODEL_PARSER=grape-swagger-entity
- GRAPE_VERSION=1.5.0 MODEL_PARSER=grape-swagger-representable
- GRAPE_VERSION=1.5.0
- GRAPE_VERSION=HEAD

jobs:
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ruby RUBY_VERSION

gemspec

gem 'grape', case version = ENV['GRAPE_VERSION'] || '>= 1.4.0'
gem 'grape', case version = ENV['GRAPE_VERSION'] || '>= 1.5.0'
when 'HEAD'
{ git: 'https://github.com/ruby-grape/grape' }
else
Expand All @@ -27,7 +27,7 @@ group :development, :test do
gem 'rake'
gem 'rdoc'
gem 'rspec', '~> 3.9'
gem 'rubocop', '~> 0.90', require: false
gem 'rubocop', '~> 0.91', require: false
end

group :test do
Expand Down

0 comments on commit 5d15589

Please sign in to comment.