first commit
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
|
||||
require 'bundler'
|
||||
begin
|
||||
Bundler.setup
|
||||
rescue Bundler::BundlerError => e
|
||||
$stderr.puts e.message
|
||||
$stderr.puts "Run `bundle install' to install missing gems"
|
||||
exit e.status_code
|
||||
end
|
||||
|
||||
if ENV['TRAVIS']
|
||||
at_exit do
|
||||
system('bundle exec sheldon')
|
||||
end
|
||||
end
|
||||
|
||||
require 'rspec/core'
|
||||
require 'rspec/core/rake_task'
|
||||
RSpec::Core::RakeTask.new(:spec) do |spec|
|
||||
spec.rspec_opts = %w{ --require spec_helper.rb --format Fuubar --color --format json --out spec/sheldon/travis.json }
|
||||
end
|
||||
|
||||
task :default => [:spec]
|
||||
Reference in New Issue
Block a user