travis updates
This commit is contained in:
parent
56504f593d
commit
577a9a612f
@ -2,4 +2,4 @@ rvm:
|
|||||||
- 1.8.7
|
- 1.8.7
|
||||||
- 1.9.2
|
- 1.9.2
|
||||||
- ree
|
- ree
|
||||||
|
script: "bundle exec spec"
|
||||||
|
8
Rakefile
8
Rakefile
@ -1,6 +1,12 @@
|
|||||||
require 'bundler'
|
require 'bundler'
|
||||||
Bundler::GemHelper.install_tasks
|
Bundler::GemHelper.install_tasks
|
||||||
|
|
||||||
|
desc "Run on this Ruby"
|
||||||
|
task :spec do
|
||||||
|
system %{rspec spec}
|
||||||
|
exit $?.exitstatus
|
||||||
|
end
|
||||||
|
|
||||||
namespace :spec do
|
namespace :spec do
|
||||||
desc "Run on three Rubies"
|
desc "Run on three Rubies"
|
||||||
task :platforms do
|
task :platforms do
|
||||||
@ -10,7 +16,7 @@ namespace :spec do
|
|||||||
%w{1.8.7 1.9.2 ree}.each do |version|
|
%w{1.8.7 1.9.2 ree}.each do |version|
|
||||||
puts "Switching to #{version}"
|
puts "Switching to #{version}"
|
||||||
system %{rvm #{version}}
|
system %{rvm #{version}}
|
||||||
system %{bundle exec rspec spec}
|
system %{rspec spec}
|
||||||
if $?.exitstatus != 0
|
if $?.exitstatus != 0
|
||||||
fail = true
|
fail = true
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user