Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

* Bump ruby versions to 2.4.10, 2.5.8, 2.6.6, 2.7.1. #665

Merged
merged 2 commits into from Apr 3, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 12 additions & 21 deletions .travis.yml
Expand Up @@ -2,26 +2,17 @@ dist: trusty
language: ruby
matrix:
include:
- name: 2.0.0 / Parser tests
rvm: 2.0.0
script: bundle exec rake test_cov
- name: 2.2.10 / Parser tests
rvm: 2.2.10
script: bundle exec rake test_cov
- name: 2.3.8 / Parser tests
rvm: 2.3.8
script: bundle exec rake test_cov
- name: 2.4.9 / Parser tests
rvm: 2.4.9
script: bundle exec rake test_cov
- name: 2.5.7 / Parser tests
rvm: 2.5.7
- name: 2.5.8 / Parser tests
rvm: 2.5.8
script: bundle exec rake test_cov
- name: 2.6.5 / Parser tests
rvm: 2.6.5
- name: 2.6.6 / Parser tests
rvm: 2.6.6
script: bundle exec rake test_cov
- name: 2.7.0 / Parser tests
rvm: 2.7.0
- name: 2.7.1 / Parser tests
rvm: 2.7.1
script: bundle exec rake test_cov
- name: ruby-head / Parser tests
rvm: ruby-head
Expand All @@ -32,14 +23,14 @@ matrix:
- name: rbx-2 / Parser tests
rvm: rbx-2
script: bundle exec rake test_cov
- name: 2.5.7 / Rubocop tests
rvm: 2.5.7
- name: 2.5.8 / Rubocop tests
rvm: 2.5.8
script: ./ci/run_rubocop_specs
- name: 2.6.5 / Rubocop tests
rvm: 2.6.5
- name: 2.6.6 / Rubocop tests
rvm: 2.6.6
script: ./ci/run_rubocop_specs
- name: 2.7.0 / Rubocop tests
rvm: 2.7.0
- name: 2.7.1 / Rubocop tests
rvm: 2.7.1
script: ./ci/run_rubocop_specs
allow_failures:
- rvm: ruby-head
Expand Down
8 changes: 4 additions & 4 deletions lib/parser/current.rb
Expand Up @@ -48,7 +48,7 @@ def warn_syntax_deviation(feature, version)
CurrentRuby = Ruby23

when /^2\.4\./
current_version = '2.4.9'
current_version = '2.4.10'
if RUBY_VERSION != current_version
warn_syntax_deviation 'parser/ruby24', current_version
end
Expand All @@ -57,7 +57,7 @@ def warn_syntax_deviation(feature, version)
CurrentRuby = Ruby24

when /^2\.5\./
current_version = '2.5.7'
current_version = '2.5.8'
if RUBY_VERSION != current_version
warn_syntax_deviation 'parser/ruby25', current_version
end
Expand All @@ -66,7 +66,7 @@ def warn_syntax_deviation(feature, version)
CurrentRuby = Ruby25

when /^2\.6\./
current_version = '2.6.5'
current_version = '2.6.6'
if RUBY_VERSION != current_version
warn_syntax_deviation 'parser/ruby26', current_version
end
Expand All @@ -75,7 +75,7 @@ def warn_syntax_deviation(feature, version)
CurrentRuby = Ruby26

when /^2\.7\./
current_version = '2.7.0'
current_version = '2.7.1'
if RUBY_VERSION != current_version
warn_syntax_deviation 'parser/ruby27', current_version
end
Expand Down