Permalink
Browse files

Add rake task to run tests for Travis CI

  • Loading branch information...
1 parent 0412a95 commit 82879df30f4864d6064b4104598b155ea390cf49 @garethrees committed Sep 27, 2011
Showing with 5 additions and 0 deletions.
  1. +4 −0 Rakefile
  2. +1 −0 readingtime.gemspec
View
@@ -1 +1,5 @@
require 'bundler/gem_tasks'
+
+task :default do
+ exec('rspec spec/.')
+end
View
@@ -18,6 +18,7 @@ Gem::Specification.new do |s|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
+ s.add_development_dependency 'rake'
s.add_development_dependency "rspec", "~>2.6"
end

0 comments on commit 82879df

Please sign in to comment.