method

tasks

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: Build
tasks() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File ci/travis.rb, line 67
  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
Register or log in to add new notes.