Sha256: ae65013a1a8b42177a3f5999c54413f31d612a96d572c0427486a943def83309

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 Bytes

Contents

# gosh ...
job, repository = @hash.values_at(:build, :repository)
build = job.owner

child build => :build do
  attributes :id, :repository_id, :number, :started_at, :config

  glue build.commit do
    attributes :commit, :branch, :message, :committed_at, :committer_name, :committer_email, :author_name, :author_email, :compare_url
  end

  code :matrix do
    [Travis::Renderer.hash(job, :type => :event, :template => 'build/started/test', :build_dir => build_dir)]
  end
end

child repository => :repository do
  attributes :id, :last_build_id, :last_build_number, :last_build_started_at, :last_build_finished_at

  node(:slug) { |repository| repository.slug }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-core-0.0.1 lib/travis/notifications/pusher/views/v1/event/job/test/started.rabl