method

tasks

Importance_0
v5.0.0.1 - 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 61
  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?)].compact.join(":")
    end
  end
Register or log in to add new notes.