mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
16 lines
No EOL
359 B
Ruby
16 lines
No EOL
359 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|
|
|
print "running '#{t}'\n"
|
|
Rake::Task[t].invoke
|
|
end
|
|
end |