method
tasks
rails latest stable - Class:
Build
tasks()public
No documentation available.
# File ci/travis.rb, line 56
def tasks
if activerecord?
tasks = ["#{adapter}:#{'isolated_' if isolated?}test"]
case adapter
when "mysql2"
tasks.unshift "db:mysql:rebuild"
when "postgresql"
tasks.unshift "db:postgresql:rebuild"
end
tasks
else
["test", ("isolated" if isolated?), ("integration" if integration?), ("ujs" if ujs?)].compact.join(":")
end
end