diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0f5b904..0000000 --- a/.travis.yml +++ /dev/null @@ -1,64 +0,0 @@ -cache: bundler -language: ruby -rvm: - - jruby-9.2.9.0 - - 2.3.0 - - 2.4 - - 2.5 - - 2.6 - - 2.7 - - 3.0 - -gemfile: - - gemfiles/rubocop_0.53.gemfile - - gemfiles/rubocop_0.81.gemfile - - gemfiles/rubocop_0.86.gemfile - - gemfiles/rubocop_1.20.gemfile - -script_rubocop: &script_rubocop - - bundle exec rspec - - bundle exec rubocop - -jobs: - fast_finish: true - exclude: - - rvm: 2.3.0 - gemfile: gemfiles/rubocop_0.86.gemfile - - rvm: 2.3.0 - gemfile: gemfiles/rubocop_1.20.gemfile - - rvm: 2.5 - gemfile: gemfiles/rubocop_0.53.gemfile - - rvm: 2.6 - gemfile: gemfiles/rubocop_0.53.gemfile - - rvm: 2.7 - gemfile: gemfiles/rubocop_0.53.gemfile - - rvm: 3.0 - gemfile: gemfiles/rubocop_0.53.gemfile - include: - - rvm: jruby-9.2.9.0 - gemfile: gemfiles/rubocop_0.81.gemfile - script: *script_rubocop - - rvm: 2.3.0 - gemfile: gemfiles/rubocop_0.81.gemfile - script: *script_rubocop - - rvm: 2.4 - gemfile: gemfiles/rubocop_0.81.gemfile - script: *script_rubocop - - rvm: 2.5 - gemfile: gemfiles/rubocop_0.81.gemfile - script: *script_rubocop - - rvm: 2.6 - gemfile: gemfiles/rubocop_0.81.gemfile - script: *script_rubocop - - rvm: 2.7 - gemfile: gemfiles/rubocop_0.81.gemfile - script: *script_rubocop - - rvm: 3.0 - gemfile: gemfiles/rubocop_0.81.gemfile - script: *script_rubocop - -before_install: gem install --remote bundler -install: - - bundle install --retry=3 -script: - - bundle exec rspec diff --git a/Appraisals b/Appraisals index 16c30cb..f47939c 100644 --- a/Appraisals +++ b/Appraisals @@ -1,23 +1,9 @@ # frozen_string_literal: true -appraise 'rubocop-0.53' do - gem 'rubocop', '~> 0.53.0' +appraise 'rubocop-0.86' do + gem 'rubocop', '~> 0.86.0' end -appraise 'rubocop-0.81' do - gem 'rubocop', '~> 0.81.0' -end - -if Gem::Requirement.new('>= 2.4.0') - .satisfied_by?(Gem::Version.new(RUBY_VERSION)) - appraise 'rubocop-0.86' do - gem 'rubocop', '~> 0.86.0' - end -end - -if Gem::Requirement.new('>= 2.5.0') - .satisfied_by?(Gem::Version.new(RUBY_VERSION)) - appraise 'rubocop-1.20' do +appraise 'rubocop-1.20' do gem 'rubocop', '~> 1.20.0' - end end diff --git a/gemfiles/rubocop_0.53.gemfile b/gemfiles/rubocop_0.53.gemfile deleted file mode 100644 index 55b8330..0000000 --- a/gemfiles/rubocop_0.53.gemfile +++ /dev/null @@ -1,7 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "rubocop", "~> 0.53.0" - -gemspec path: "../" diff --git a/gemfiles/rubocop_0.81.gemfile b/gemfiles/rubocop_0.81.gemfile deleted file mode 100644 index 65788b6..0000000 --- a/gemfiles/rubocop_0.81.gemfile +++ /dev/null @@ -1,7 +0,0 @@ -# This file was generated by Appraisal - -source "https://rubygems.org" - -gem "rubocop", "~> 0.81.0" - -gemspec path: "../"