Skip to content

Commit

Permalink
Merge pull request teamcapybara#1194 from twalpole/rbx
Browse files Browse the repository at this point in the history
Make rbx-2.1.1 build run on travis
  • Loading branch information
jnicklas committed Dec 20, 2013
2 parents 39272a8 + 892e120 commit 60683d9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ rvm:
- 2.0.0
- jruby-19mode
- rbx-2.1.1
- rbx-2.1.0
- rbx-2.0.0
gemfile:
- Gemfile
- gemfiles/Gemfile.base-versions
matrix:
allow_failures:
- rvm: rbx-2.0.0
exclude:
# Nokogiri 1.3.3 is not compatible with Rubinius or JRuby
- gemfile: gemfiles/Gemfile.base-versions
Expand Down
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ end

RSpec::Core::RakeTask.new(:spec_with_chrome) do |t|
t.rspec_opts = %w[--color]
#jruby buffers the progress formatter so travis doesnt see output often enough
t.rspec_opts << '--format documentation' if RUBY_PLATFORM=='java'
t.pattern = './spec{,/*/**}/*{_spec.rb,_spec_chrome.rb}'
end

Expand Down
8 changes: 7 additions & 1 deletion capybara.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ Gem::Specification.new do |s|
s.add_development_dependency("cucumber", [">= 0.10.5"])
s.add_development_dependency("rake")
s.add_development_dependency("pry")


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

if File.exist?("gem-private_key.pem")
s.signing_key = 'gem-private_key.pem'
end
Expand Down
2 changes: 1 addition & 1 deletion spec/selenium_spec_chrome.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ module TestSessions
:response_headers,
:status_code,
:trigger
]
] unless ENV['TRAVIS'] && (RUBY_PLATFORM == 'java')

0 comments on commit 60683d9

Please sign in to comment.