Attempt to use new Travis API.

This commit is contained in:
Georges Dupéron 2016-08-23 14:10:58 +02:00
parent 156ea6130b
commit edd344efa6

View File

@ -140,8 +140,8 @@ function getBuildDate(build) {
function getJSON(url, callback) {
return d3.xhr(url)
.mimeType("application/json")
.header("Accept", "application/vnd.travis-ci.2+json")
.mimeType("application/json")
.response(function(xhr) { return JSON.parse(xhr.responseText); })
.get(callback);
}