Skip to content

Commit

Permalink
Merge pull request #481 from olleolleolle/rbx-ci
Browse files Browse the repository at this point in the history
CI: Set dist: trusty for Rubinius
  • Loading branch information
kaspth authored Mar 17, 2020
2 parents 2dd7846 + 50afac4 commit d654955
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ rvm:
- 2.5.5
- 2.6.2
- ruby-head
- rbx-3.107

gemfile:
- gemfiles/rails_5_0.gemfile
Expand All @@ -23,6 +22,27 @@ gemfile:
- gemfiles/rails_head.gemfile

matrix:
include:
- name: "Rubinius - 5.0"
rvm: rbx-3.107
dist: trusty
gemfile: gemfiles/rails_5_0.gemfile
- name: "Rubinius - 5.1"
rvm: rbx-3.107
dist: trusty
gemfile: gemfiles/rails_5_1.gemfile
- name: "Rubinius - 5.2"
rvm: rbx-3.107
dist: trusty
gemfile: gemfiles/rails_5_2.gemfile
- name: "Rubinius - 6.0"
rvm: rbx-3.107
dist: trusty
gemfile: gemfiles/rails_6_0.gemfile
- name: "Rubinius - head"
rvm: rbx-3.107
dist: trusty
gemfile: gemfiles/rails_head.gemfile
exclude:
- rvm: 2.2.10
gemfile: gemfiles/rails_6_0.gemfile
Expand Down
6 changes: 6 additions & 0 deletions jbuilder.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ Gem::Specification.new do |s|

s.add_dependency 'activesupport', '>= 5.0.0'

if RUBY_ENGINE == 'rbx'
s.add_development_dependency('racc')
s.add_development_dependency('json')
s.add_development_dependency('rubysl')
end

s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- test/*`.split("\n")
end

0 comments on commit d654955

Please sign in to comment.