Remove testing for Ruby versions 2.4 and older (#174)

This commit is contained in:
Tim Riley 2020-05-18 21:13:57 +10:00 committed by GitHub
parent 520cf4da6a
commit c988b2dc2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 31 deletions

View File

@ -29,7 +29,6 @@ jobs:
- "2.7"
- "2.6"
- "2.5"
- "2.4"
- "jruby"
include:
- ruby: "2.6"

View File

@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.4
TargetRubyVersion: 2.5
Exclude:
- spec/support/coverage.rb
- spec/support/warnings.rb

View File

@ -1,28 +0,0 @@
language: ruby
cache: bundler
bundler_args: --without tools benchmarks
before_install:
- gem update --system
- gem install bundler
script:
- bundle exec rake
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- "[ -d coverage ] && ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
rvm:
- 2.6.3
- 2.5.5
- 2.4.6
- 2.3.8
- jruby-9.2.7.0
notifications:
email: false
webhooks:
urls:
- https://webhooks.gitter.im/e/19098b4253a72c9796db
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false

View File

@ -10,7 +10,7 @@ group :test do
gem "codacy-coverage", require: false, platforms: :ruby
gem "warning" if RUBY_VERSION >= "2.4.0"
gem "warning"
end
group :tools do