tracks/lib/tasks/continuous_integration.rake
Dan Rice 9469bacc2f Remove db:migrate from ci task
Rails 4.1 auto-manages the database using schema.rb
2014-06-10 15:57:29 -04:00

15 lines
317 B
Ruby

task :ci do |t|
ENV['RAILS_ENV'] ||= "test"
# test coverage from codeclimate
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
# local test coverage
require 'simplecov'
SimpleCov.start 'rails'
[:environment, 'test:all', 'cucumber'].each do |t|
Rake::Task[t].invoke
end
end