modified stats payloads
This commit is contained in:
parent
8b078ca7b5
commit
deb4655e8a
|
@ -22,7 +22,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: git://github.com/travis-ci/travis-api.git
|
remote: git://github.com/travis-ci/travis-api.git
|
||||||
revision: a2d195ecf9340c31c4ee2c439e3b2aac54181157
|
revision: a8fc2f0e7ac41ee55b937e607b8897b2b118411b
|
||||||
branch: sf-use-services
|
branch: sf-use-services
|
||||||
specs:
|
specs:
|
||||||
travis-api (0.0.1)
|
travis-api (0.0.1)
|
||||||
|
@ -40,7 +40,7 @@ GIT
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: git://github.com/travis-ci/travis-core.git
|
remote: git://github.com/travis-ci/travis-core.git
|
||||||
revision: e443f562e98e241ea1ead59205399ac0f2d37a76
|
revision: fc927a39215d84564e3b00115800ba3def742a55
|
||||||
branch: sf-more-services
|
branch: sf-more-services
|
||||||
specs:
|
specs:
|
||||||
travis-core (0.0.1)
|
travis-core (0.0.1)
|
||||||
|
|
|
@ -20,8 +20,9 @@
|
||||||
CHARTS:
|
CHARTS:
|
||||||
repos:
|
repos:
|
||||||
source: '/api/stats/repos'
|
source: '/api/stats/repos'
|
||||||
|
total: 0
|
||||||
map: (data) ->
|
map: (data) ->
|
||||||
[Date.parse(data.date), data.total_growth]
|
[Date.parse(data.date), @total += parseInt(data.count)]
|
||||||
chart:
|
chart:
|
||||||
renderTo: "repos_stats"
|
renderTo: "repos_stats"
|
||||||
title:
|
title:
|
||||||
|
@ -46,7 +47,7 @@
|
||||||
builds:
|
builds:
|
||||||
source: '/api/stats/tests'
|
source: '/api/stats/tests'
|
||||||
map: (data) ->
|
map: (data) ->
|
||||||
[Date.parse(data.date), data.run_on_date]
|
[Date.parse(data.date), parseInt(data.count)]
|
||||||
chart:
|
chart:
|
||||||
renderTo: "tests_stats"
|
renderTo: "tests_stats"
|
||||||
type: "column"
|
type: "column"
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user