mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
15 lines
No EOL
330 B
Ruby
15 lines
No EOL
330 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, 'db:migrate', 'test:all', 'cucumber'].each do |t|
|
|
Rake::Task[t].invoke
|
|
end
|
|
end |