Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Run the test task by default instead of testing all the rubies

  • Loading branch information...
commit a4dfdb4570cf4c8599a566f5969181879bf79129 1 parent c59dcf1
@czarneckid czarneckid authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Rakefile
View
4 Rakefile
@@ -17,7 +17,7 @@ REDIS_LOCATION = ENV['REDIS_LOCATION']
task :default => :run
desc "Run tests and manage server start/stop"
-task :run => [:start, :test_rubies, :stop]
+task :run => [:start, :test, :stop]
desc "Run rcov and manage server start/stop"
task :rcoverage => [:start, :rcov, :stop]
@@ -48,5 +48,7 @@ task :stop do
end
task :test_rubies do
+ Rake::Task['start'].execute
system "rvm 1.8.7@leaderboard_gem,1.9.2@leaderboard_gem,1.9.3@leaderboard_gem do rake test"
+ Rake::Task['stop'].execute
end
Please sign in to comment.
Something went wrong with that request. Please try again.