Permalink
Browse files

Refine Rakefile to use Travis CI

  • Loading branch information...
1 parent 5e6e2cb commit 645a806b41791e7cca9073d59eefaaa57914f445 @katsuma committed Sep 8, 2013
Showing with 18 additions and 0 deletions.
  1. +18 −0 Rakefile
View
@@ -1 +1,19 @@
+require 'rubygems'
+require "bundler/gem_tasks"
+require 'bundler'
+
+begin
+ Bundler.setup(:default, :development)
+rescue Bundler::BundlerError => e
+ $stderr.puts e.message
+ $stderr.puts "Run `bundle install` to install missing gems"
+ exit e.status_code
+end
+
+require 'rspec/core'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+
+task :default => :spec
require "bundler/gem_tasks"

0 comments on commit 645a806

Please sign in to comment.