Permalink
Browse files

ST: Updated Rakefile

  • Loading branch information...
rudionrails committed Sep 13, 2012
1 parent 5d4041e commit d81b88d33a71de70c9f31bacf170bc8e8c3c182c
Showing with 35 additions and 0 deletions.
  1. +17 −0 .travis.yml
  2. +18 −0 Rakefile
View
@@ -0,0 +1,17 @@
+language: ruby
+
+script: "rake"
+
+rvm:
+ - 1.8.7
+ - 1.9.2
+ - 1.9.3
+ - jruby-18mode
+ - jruby-19mode
+ - rbx-18mode
+ - rbx-19mode
+ - ree
+
+notifications:
+ email:
+ - me@rudionrails.com
View
@@ -1 +1,19 @@
require "bundler/gem_tasks"
+
+# RSpec
+begin
+ require 'rspec/core/rake_task'
+
+ desc "Run specs"
+ RSpec::Core::RakeTask.new do |t|
+ t.rspec_opts = %w(--color --format progress --order random)
+ # t.ruby_opts = %w(-w)
+ end
+rescue LoadError
+ task :spec do
+ abort "`gem install rspec` in order to run tests"
+ end
+end
+
+task :default => :spec
+

0 comments on commit d81b88d

Please sign in to comment.