From a6120f16918bd6013b99b89b7b30b6d0e66bb052 Mon Sep 17 00:00:00 2001 From: Wasif Hossain Date: Thu, 9 Jan 2020 01:58:11 +0600 Subject: [PATCH] Add Ruby 2.7 support (#2368) * Add Ruby 2.7 support Co-authored-by: Benjamin Fleischer --- .travis.yml | 15 +++++---------- appveyor.yml | 6 +++--- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index b67478eae..2853793fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ _ruby_supported_versions: - &ruby_2_4 2.4.9 - &ruby_2_5 2.5.7 - &ruby_2_6 2.6.5 + - &ruby_2_7 2.7.0 - &ruby_head ruby-head _jruby_supported_versions: @@ -64,9 +65,7 @@ rvm: - *ruby_2_1 - *ruby_2_2 - *ruby_2_3 - - *ruby_2_4 - - *ruby_2_5 - - *ruby_2_6 + - *ruby_2_7 - *ruby_head branches: @@ -74,6 +73,9 @@ branches: jobs: include: + - { rvm: *ruby_2_4, env: *rails_4_2 } + - { rvm: *ruby_2_5, env: *rails_4_2 } + - { rvm: *ruby_2_6, env: *rails_4_2 } - { rvm: *jruby_9_1, jdk: *jdk_8, env: *rails_4_1_jruby } - { rvm: *jruby_9_1, jdk: *jdk_8, env: *rails_4_2_jruby } - { rvm: *jruby_9_1, jdk: *jdk_8, env: *rails_5_0_jruby } @@ -95,9 +97,6 @@ jobs: - { rvm: *jruby_head, jdk: *jdk_8, env: *rails_master_jruby } exclude: - - { rvm: *ruby_2_4, env: *rails_4_1 } - - { rvm: *ruby_2_5, env: *rails_4_1 } - - { rvm: *ruby_2_6, env: *rails_4_1 } - { rvm: *ruby_head, env: *rails_4_1 } - { rvm: *ruby_2_1, env: *rails_5_0 } @@ -107,16 +106,12 @@ jobs: - { rvm: *ruby_2_1, env: *rails_6_0 } - { rvm: *ruby_2_2, env: *rails_6_0 } - { rvm: *ruby_2_3, env: *rails_6_0 } - - { rvm: *ruby_2_4, env: *rails_6_0 } - { rvm: *ruby_2_1, env: *rails_master } - { rvm: *ruby_2_2, env: *rails_master } - { rvm: *ruby_2_3, env: *rails_master } - - { rvm: *ruby_2_4, env: *rails_master } allow_failures: - - { rvm: *ruby_2_5, env: *rails_master } - - { rvm: *ruby_2_6, env: *rails_master } - rvm: *ruby_head diff --git a/appveyor.yml b/appveyor.yml index fe5971a6f..0901a78d8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,9 +14,9 @@ cache: install: - SET PATH=C:\%ruby_version%\bin;%PATH% - - gem uninstall bundler -a -x -I - - gem update --system 2.7.9 - - # gem install bundler -v '1.17.3' + - gem uninstall bundler -x + - # gem update --system 2.7.9 + - gem install bundler -v '1.17.3' - bundle env - bundle check || bundle install --path=vendor/bundle --retry=3 --jobs=3 - bundle clean --force