Skip to content

Commit

Permalink
Run tests under Ruby 1.8.7 and 1.9.2 to ensure compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
David Czarnecki committed May 3, 2011
1 parent dcbea81 commit 22419f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.markdown
@@ -1,3 +1,7 @@
# leaderboard `in development`

* Updated Rakefile to run tests under ruby 1.8.7 and ruby 1.9.2

# leaderboard 1.0.4 (2011-04-26)

* Minor bug fix
Expand Down
6 changes: 5 additions & 1 deletion Rakefile
Expand Up @@ -58,7 +58,7 @@ REDIS_LOCATION = ENV['REDIS_LOCATION']
task :default => :run

desc "Run tests and manage server start/stop"
task :run => [:start, :test, :stop]
task :run => [:start, :test_rubies, :stop]

desc "Run rcov and manage server start/stop"
task :rcoverage => [:start, :rcov, :stop]
Expand Down Expand Up @@ -87,3 +87,7 @@ task :stop do
FileUtils.rm REDIS_PID
end
end

task :test_rubies do
system "rvm 1.8.7,1.9.2 rake test"
end

0 comments on commit 22419f9

Please sign in to comment.