Attempt to use new Travis API.

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

View File

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