method

tasks

v5.0.0.1 - Show latest stable - Class: Build
tasks()
public

No documentation available.

# 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