Skip to content

Commit

Permalink
* Bump ruby versions to 2.4.9, 2.5.7 and 2.6.5. (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
iliabylich authored Oct 2, 2019
1 parent 24654a8 commit c98f161
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ matrix:
- name: 2.3.8 / Parser tests
rvm: 2.3.8
script: bundle exec rake test_cov
- name: 2.4.7 / Parser tests
rvm: 2.4.7
- name: 2.4.9 / Parser tests
rvm: 2.4.9
script: bundle exec rake test_cov
- name: 2.5.6 / Parser tests
rvm: 2.5.6
- name: 2.5.7 / Parser tests
rvm: 2.5.7
script: bundle exec rake test_cov
- name: 2.6.4 / Parser tests
rvm: 2.6.4
- name: 2.6.5 / Parser tests
rvm: 2.6.5
script: bundle exec rake test_cov
- name: ruby-head / Parser tests
rvm: ruby-head
Expand All @@ -29,11 +29,11 @@ matrix:
- name: rbx-2 / Parser tests
rvm: rbx-2
script: bundle exec rake test_cov
- name: 2.5.6 / Rubocop tests
rvm: 2.5.6
- name: 2.5.7 / Rubocop tests
rvm: 2.5.7
script: ./ci/run_rubocop_specs
- name: 2.6.4 / Rubocop tests
rvm: 2.6.4
- name: 2.6.5 / Rubocop tests
rvm: 2.6.5
script: ./ci/run_rubocop_specs
allow_failures:
- rvm: ruby-head
Expand Down
6 changes: 3 additions & 3 deletions lib/parser/current.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def warn_syntax_deviation(feature, version)
CurrentRuby = Ruby23

when /^2\.4\./
current_version = '2.4.7'
current_version = '2.4.9'
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.6'
current_version = '2.5.7'
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.4'
current_version = '2.6.5'
if RUBY_VERSION != current_version
warn_syntax_deviation 'parser/ruby26', current_version
end
Expand Down

0 comments on commit c98f161

Please sign in to comment.