Browse files

travis updates

  • Loading branch information...
1 parent 56504f5 commit 577a9a612fa50f0dbe473bbe1a4653bb0e42c9de @johnbintz johnbintz committed Jun 5, 2011
Showing with 8 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +7 −1 Rakefile
View
2 .travis.yml
@@ -2,4 +2,4 @@ rvm:
- 1.8.7
- 1.9.2
- ree
-
+script: "bundle exec spec"
View
8 Rakefile
@@ -1,6 +1,12 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+desc "Run on this Ruby"
+task :spec do
+ system %{rspec spec}
+ exit $?.exitstatus
+end
+
namespace :spec do
desc "Run on three Rubies"
task :platforms do
@@ -10,7 +16,7 @@ namespace :spec do
%w{1.8.7 1.9.2 ree}.each do |version|
puts "Switching to #{version}"
system %{rvm #{version}}
- system %{bundle exec rspec spec}
+ system %{rspec spec}
if $?.exitstatus != 0
fail = true
break

0 comments on commit 577a9a6

Please sign in to comment.