Skip to content

Commit

Permalink
Final Travis tweaks for now.
Browse files Browse the repository at this point in the history
* Disable JRuby as it still hangs. rbx-* are placeholders
* Randomize example execution order, seeded with current time
* Add 1.9.3 to the Guardfile
* rake 0.9+ works
  • Loading branch information
seancribbs committed Jan 13, 2012
1 parent 0e9cae5 commit 3ebe9ae
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- jruby
# - jruby
# - rbx-18mode
# - rbx-19mode
before_script:
- ! 'echo "root: .riaktest" > spec/support/test_server.yml'
- ! 'echo "source: /usr/sbin" >> spec/support/test_server.yml'
Expand Down
2 changes: 1 addition & 1 deletion Guardfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
gemset = ENV['RVM_GEMSET'] || 'ripple'
gemset = "@#{gemset}" unless gemset.to_s == ''

rvms = %w[ 1.8.7 1.9.2 jruby ].map do |version|
rvms = %w[ 1.8.7 1.9.2 1.9.3 ].map do |version|
"#{version}@#{gemset}"
end

Expand Down
5 changes: 5 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ namespace :spec do
RSpec::Core::RakeTask.new(:all) do |spec|
spec.rspec_opts = %w[--profile --tag '~slow']
end

desc "Run Slow Specs Only"
RSpec::Core::RakeTask.new(:slow) do |spec|
spec.rspec_opts = %w[--profile --tag slow]
end
end

desc "Run All Specs (including slow specs)"
Expand Down
2 changes: 1 addition & 1 deletion riak-client.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "fakeweb", ">=1.2"
gem.add_development_dependency "rack", ">=1.0"
gem.add_development_dependency "excon", "~>0.6.1"
gem.add_development_dependency 'rake', '~> 0.8.7'
gem.add_development_dependency 'rake'
gem.add_runtime_dependency "i18n", ">=0.4.0"
gem.add_runtime_dependency "builder", ">= 2.1.2"
gem.add_runtime_dependency "beefcake", "~>0.3.7"
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@

config.filter_run :focus => true
config.run_all_when_everything_filtered = true
config.seed = Time.now.utc
end

0 comments on commit 3ebe9ae

Please sign in to comment.