mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
Coveralls handles multiple Travis builds.
There's no need to use the merged support from Coveralls since they already handle receiving data from multiple Travis builds and combining that.
This commit is contained in:
parent
2ce9e16055
commit
804ff8c87c
2 changed files with 6 additions and 8 deletions
5
Rakefile
5
Rakefile
|
@ -5,15 +5,12 @@ Bundler::GemHelper.install_tasks
|
|||
|
||||
require 'rspec/core'
|
||||
require 'rspec/core/rake_task'
|
||||
require 'coveralls/rake/task'
|
||||
|
||||
Coveralls::RakeTask.new
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec) do |spec|
|
||||
spec.pattern = FileList['spec/**/*_spec.rb']
|
||||
end
|
||||
|
||||
task :default => ["spec:all", "coveralls:push"]
|
||||
task :default => "spec:all"
|
||||
|
||||
namespace :spec do
|
||||
%w(active_record_edge active_record_40 active_record_32 active_record_31 active_record_30 data_mapper_12 mongoid_31 mongoid_30 mongoid_24 mongo_mapper sinatra_13 sinatra_14).each do |gemfile|
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
require 'coveralls'
|
||||
|
||||
# Enable Coveralls
|
||||
Coveralls.wear!
|
||||
|
||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
||||
|
||||
|
@ -11,10 +16,6 @@ Bundler.require
|
|||
|
||||
require 'capybara/rspec'
|
||||
require 'database_cleaner'
|
||||
require 'coveralls'
|
||||
|
||||
# Enable Coveralls
|
||||
Coveralls.wear_merged!
|
||||
|
||||
# Simulate a gem providing a subclass of ActiveRecord::Base before the Railtie is loaded.
|
||||
require 'fake_gem' if defined? ActiveRecord
|
||||
|
|
Loading…
Reference in a new issue