-
Notifications
You must be signed in to change notification settings - Fork 22
/
index.html
45 lines (40 loc) · 1.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Travis CI build stats</title>
<link rel="stylesheet" href="style.css?v=3" />
</head>
<body>
<h1>Travis CI build stats</h1>
<form>
<label for="repository" title="The Github repository to look at.">Repository:</label>
<input id="repository" type="text" placeholder="owner/repo" />
<br>
<label for="branch" title="The git branch to display builds for.">Branch:</label>
<input id="branch" type="text" value="master" />
<br>
<label for="requests" title="The Travis CI API only returns 25 builds at a time.">API Requests:</label>
<input id="requests" type="number" value="30" />
<br>
<input class="button" type="submit" value="Render" />
</form>
<div class="column">
<h2>Build durations</h2>
<h3>duration = sum of job run times</h3>
<div id="build-times-duration"></div>
</div>
<div class="column">
<h2>Build wall times</h2>
<h3>wall time = finished_at - started_at</h3>
<div id="build-times"></div>
</div>
<div class="column">
<h2>Builds per day</h2>
<div id="build-counts"></div>
</div>
<script src="d3.v4.min.js"></script>
<script src="script.js?v=3"></script>
<a href="https://github.com/scribu/travis-stats"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>
</body>
</html>