Skip to content

Commit

Permalink
Better setup appraisal
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscoj committed Oct 6, 2016
1 parent cf5389b commit 8690ff4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'appraisal'

RSpec::Core::RakeTask.new(:spec)
RSpec::Core::RakeTask.new(:test)

task default: :spec
if !ENV['APPRAISAL_INITIALIZED'] && !ENV['TRAVIS']
task default: :appraisal
else
task default: :test
end

0 comments on commit 8690ff4

Please sign in to comment.