Skip to content

Commit d95ff66

Browse files
committed
Merge branch 'master' of github.com:travis-ci/travis-core
2 parents 04ecdfd + e263bc5 commit d95ff66

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

lib/travis/api/v1/pusher/build/started.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ def build_data
3131
'event_type' => request.event_type,
3232
'matrix' => build.matrix.map { |job| Job.new(job).data },
3333
'job_ids' => build.matrix.map(&:id),
34-
'finished_at' => format_date(build.finished_at),
35-
'state' => build.state.to_s,
36-
'duration' => build.duration
34+
'state' => build.state.to_s
3735
}
3836
end
3937

spec/travis/api/v1/pusher/build/started_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
'committed_at' => json_format_time(Time.now.utc - 1.hour),
2626
'compare_url' => 'https://github.com/svenfuchs/minimal/compare/master...develop',
2727
'event_type' => 'push',
28-
'state' => 'finished',
29-
'duration' => 60,
30-
'finished_at' => json_format_time(Time.now.utc)
28+
'state' => 'finished'
3129
}
3230
end
3331

0 commit comments

Comments
 (0)