Skip to content

Commit

Permalink
Add Ruby 2.7 support (#2368)
Browse files Browse the repository at this point in the history
* Add Ruby 2.7 support

Co-authored-by: Benjamin Fleischer <[email protected]>
  • Loading branch information
wasifhossain and bf4 committed Jan 8, 2020
1 parent 64c7fee commit a6120f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
15 changes: 5 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -64,16 +65,17 @@ 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:
only: 0-10-stable

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 }
Expand All @@ -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 }
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6120f1

Please sign in to comment.