travis-client 0.1.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +4 -2
- data/.rspec +3 -2
- data/.travis.yml +2 -9
- data/.yardopts +2 -0
- data/Gemfile +1 -3
- data/Gemfile.lock +59 -0
- data/lib/travis/client.rb +20 -104
- data/lib/travis/client/action.rb +128 -0
- data/lib/travis/client/collection.rb +66 -0
- data/lib/travis/client/connection.rb +104 -0
- data/lib/travis/client/context.rb +52 -0
- data/lib/travis/client/entity.rb +77 -0
- data/lib/travis/client/error.rb +47 -0
- data/lib/travis/client/generated.rb +2073 -0
- data/lib/travis/client/link.rb +34 -0
- data/lib/travis/client/session.rb +101 -0
- data/lib/travis/client/unknown.rb +5 -0
- data/lib/travis/client/version.rb +6 -0
- data/readme.md +187 -0
- data/script/generate +44 -0
- data/spec/http_responses/default/branches.http +715 -0
- data/spec/http_responses/default/find_owner.http +23 -0
- data/spec/http_responses/default/index.http +1518 -0
- data/spec/http_responses/default/repo.http +44 -0
- data/spec/http_responses/default/repo_branches_10.http +347 -0
- data/spec/http_responses/default/repo_branches_10_0.http +347 -0
- data/spec/http_responses/default/repo_branches_10_10.http +351 -0
- data/spec/http_responses/default/repo_branches_10_20.http +99 -0
- data/spec/http_responses/default/sync.http +12 -0
- data/spec/http_responses/default/user_repos.http +6315 -0
- data/spec/spec_helper.rb +4 -2
- data/spec/support/coverage.rb +8 -0
- data/spec/support/generate_http_response.rb +16 -0
- data/spec/support/http.rb +54 -0
- data/spec/travis/collection_spec.rb +19 -0
- data/spec/travis/connection_spec.rb +26 -0
- data/spec/travis/entity_spec.rb +27 -0
- data/spec/travis_spec.rb +18 -0
- data/travis-client.gemspec +21 -21
- metadata +103 -75
- data/README.textile +0 -111
- data/Rakefile +0 -8
- data/bin/travis +0 -21
- data/features/repositories.feature +0 -117
- data/features/step_definitions/repositories_steps.rb +0 -51
- data/features/support/env.rb +0 -2
- data/lib/travis.rb +0 -2
- data/lib/travis/api.rb +0 -3
- data/lib/travis/api/client.rb +0 -95
- data/lib/travis/api/client/repositories.rb +0 -234
- data/lib/travis/api/entity.rb +0 -44
- data/lib/travis/api/entity/build.rb +0 -129
- data/lib/travis/api/entity/repository.rb +0 -79
- data/lib/travis/client/repositories.rb +0 -345
- data/spec/travis/api/client/repositories_spec.rb +0 -2
- data/spec/travis/api/client_spec.rb +0 -15
- data/spec/travis/api/entity/build_spec.rb +0 -84
- data/spec/travis/api/entity/repository_spec.rb +0 -79
- data/spec/travis/api/entity_spec.rb +0 -46
- data/spec/travis/api/shared_client_examples.rb +0 -3
- data/spec/travis/api/shared_entity_examples.rb +0 -16
@@ -0,0 +1,44 @@
|
|
1
|
+
GET https://api.travis-ci.org/repo/travis-ci%2Ftravis.rb HTTP/1.1
|
2
|
+
Accept: application/json
|
3
|
+
Travis-API-Version: 3
|
4
|
+
|
5
|
+
HTTP/1.1 200 OK
|
6
|
+
Content-Type: application/json
|
7
|
+
|
8
|
+
{
|
9
|
+
"@type": "repository",
|
10
|
+
"@href": "/repo/409371",
|
11
|
+
"@representation": "standard",
|
12
|
+
"@permissions": {
|
13
|
+
"read": true,
|
14
|
+
"admin": false,
|
15
|
+
"activate": false,
|
16
|
+
"deactivate": false,
|
17
|
+
"star": false,
|
18
|
+
"unstar": false,
|
19
|
+
"create_cron": false,
|
20
|
+
"create_env_var": false,
|
21
|
+
"create_key_pair": false,
|
22
|
+
"create_request": false
|
23
|
+
},
|
24
|
+
"id": 409371,
|
25
|
+
"name": "travis.rb",
|
26
|
+
"slug": "travis-ci/travis.rb",
|
27
|
+
"description": "Travis CI Client (CLI and Ruby library)",
|
28
|
+
"github_language": null,
|
29
|
+
"active": true,
|
30
|
+
"private": false,
|
31
|
+
"owner": {
|
32
|
+
"@type": "organization",
|
33
|
+
"id": 87,
|
34
|
+
"login": "travis-ci",
|
35
|
+
"@href": "/org/87"
|
36
|
+
},
|
37
|
+
"default_branch": {
|
38
|
+
"@type": "branch",
|
39
|
+
"@href": "/repo/409371/branch/master",
|
40
|
+
"@representation": "minimal",
|
41
|
+
"name": "master"
|
42
|
+
},
|
43
|
+
"starred": false
|
44
|
+
}
|
@@ -0,0 +1,347 @@
|
|
1
|
+
GET https://api.travis-ci.org/repo/409371/branches?limit=10 HTTP/1.1
|
2
|
+
Accept: application/json
|
3
|
+
Travis-API-Version: 3
|
4
|
+
|
5
|
+
HTTP/1.1 200 OK
|
6
|
+
Content-Type: application/json
|
7
|
+
|
8
|
+
{
|
9
|
+
"@type": "branches",
|
10
|
+
"@href": "/repo/409371/branches?limit=10",
|
11
|
+
"@representation": "standard",
|
12
|
+
"@pagination": {
|
13
|
+
"limit": 10,
|
14
|
+
"offset": 0,
|
15
|
+
"count": 22,
|
16
|
+
"is_first": true,
|
17
|
+
"is_last": false,
|
18
|
+
"next": {
|
19
|
+
"@href": "/repo/409371/branches?limit=10&offset=10",
|
20
|
+
"offset": 10,
|
21
|
+
"limit": 10
|
22
|
+
},
|
23
|
+
"prev": null,
|
24
|
+
"first": {
|
25
|
+
"@href": "/repo/409371/branches?limit=10",
|
26
|
+
"offset": 0,
|
27
|
+
"limit": 10
|
28
|
+
},
|
29
|
+
"last": {
|
30
|
+
"@href": "/repo/409371/branches?limit=10&offset=20",
|
31
|
+
"offset": 20,
|
32
|
+
"limit": 10
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"branches": [
|
36
|
+
{
|
37
|
+
"@type": "branch",
|
38
|
+
"@href": "/repo/409371/branch/master",
|
39
|
+
"@representation": "standard",
|
40
|
+
"name": "master",
|
41
|
+
"repository": {
|
42
|
+
"@type": "repository",
|
43
|
+
"@href": "/repo/409371",
|
44
|
+
"@representation": "minimal",
|
45
|
+
"id": 409371,
|
46
|
+
"name": "travis.rb",
|
47
|
+
"slug": "travis-ci/travis.rb"
|
48
|
+
},
|
49
|
+
"default_branch": true,
|
50
|
+
"exists_on_github": true,
|
51
|
+
"last_build": {
|
52
|
+
"@type": "build",
|
53
|
+
"@href": "/build/207350319",
|
54
|
+
"@representation": "minimal",
|
55
|
+
"id": 207350319,
|
56
|
+
"number": "826",
|
57
|
+
"state": "passed",
|
58
|
+
"duration": 523,
|
59
|
+
"event_type": "push",
|
60
|
+
"previous_state": "passed",
|
61
|
+
"pull_request_title": null,
|
62
|
+
"pull_request_number": null,
|
63
|
+
"started_at": "2017-03-03T13:03:34Z",
|
64
|
+
"finished_at": "2017-03-03T13:16:52Z"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"@type": "branch",
|
69
|
+
"@href": "/repo/409371/branch/ag-bump-version",
|
70
|
+
"@representation": "standard",
|
71
|
+
"name": "ag-bump-version",
|
72
|
+
"repository": {
|
73
|
+
"@type": "repository",
|
74
|
+
"@href": "/repo/409371",
|
75
|
+
"@representation": "minimal",
|
76
|
+
"id": 409371,
|
77
|
+
"name": "travis.rb",
|
78
|
+
"slug": "travis-ci/travis.rb"
|
79
|
+
},
|
80
|
+
"default_branch": false,
|
81
|
+
"exists_on_github": true,
|
82
|
+
"last_build": {
|
83
|
+
"@type": "build",
|
84
|
+
"@href": "/build/207345748",
|
85
|
+
"@representation": "minimal",
|
86
|
+
"id": 207345748,
|
87
|
+
"number": "824",
|
88
|
+
"state": "passed",
|
89
|
+
"duration": 498,
|
90
|
+
"event_type": "push",
|
91
|
+
"previous_state": null,
|
92
|
+
"pull_request_title": null,
|
93
|
+
"pull_request_number": null,
|
94
|
+
"started_at": "2017-03-03T12:49:48Z",
|
95
|
+
"finished_at": "2017-03-03T12:56:13Z"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"@type": "branch",
|
100
|
+
"@href": "/repo/409371/branch/ag-test-autologin",
|
101
|
+
"@representation": "standard",
|
102
|
+
"name": "ag-test-autologin",
|
103
|
+
"repository": {
|
104
|
+
"@type": "repository",
|
105
|
+
"@href": "/repo/409371",
|
106
|
+
"@representation": "minimal",
|
107
|
+
"id": 409371,
|
108
|
+
"name": "travis.rb",
|
109
|
+
"slug": "travis-ci/travis.rb"
|
110
|
+
},
|
111
|
+
"default_branch": false,
|
112
|
+
"exists_on_github": true,
|
113
|
+
"last_build": {
|
114
|
+
"@type": "build",
|
115
|
+
"@href": "/build/207337389",
|
116
|
+
"@representation": "minimal",
|
117
|
+
"id": 207337389,
|
118
|
+
"number": "821",
|
119
|
+
"state": "passed",
|
120
|
+
"duration": 531,
|
121
|
+
"event_type": "push",
|
122
|
+
"previous_state": "failed",
|
123
|
+
"pull_request_title": null,
|
124
|
+
"pull_request_number": null,
|
125
|
+
"started_at": "2017-03-03T12:09:38Z",
|
126
|
+
"finished_at": "2017-03-03T12:25:36Z"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"@type": "branch",
|
131
|
+
"@href": "/repo/409371/branch/rkh-2fa-login",
|
132
|
+
"@representation": "standard",
|
133
|
+
"name": "rkh-2fa-login",
|
134
|
+
"repository": {
|
135
|
+
"@type": "repository",
|
136
|
+
"@href": "/repo/409371",
|
137
|
+
"@representation": "minimal",
|
138
|
+
"id": 409371,
|
139
|
+
"name": "travis.rb",
|
140
|
+
"slug": "travis-ci/travis.rb"
|
141
|
+
},
|
142
|
+
"default_branch": false,
|
143
|
+
"exists_on_github": true,
|
144
|
+
"last_build": {
|
145
|
+
"@type": "build",
|
146
|
+
"@href": "/build/178040816",
|
147
|
+
"@representation": "minimal",
|
148
|
+
"id": 178040816,
|
149
|
+
"number": "792",
|
150
|
+
"state": "passed",
|
151
|
+
"duration": 655,
|
152
|
+
"event_type": "push",
|
153
|
+
"previous_state": "errored",
|
154
|
+
"pull_request_title": null,
|
155
|
+
"pull_request_number": null,
|
156
|
+
"started_at": "2016-11-22T17:17:50Z",
|
157
|
+
"finished_at": "2016-11-22T18:01:23Z"
|
158
|
+
}
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"@type": "branch",
|
162
|
+
"@href": "/repo/409371/branch/cd-login",
|
163
|
+
"@representation": "standard",
|
164
|
+
"name": "cd-login",
|
165
|
+
"repository": {
|
166
|
+
"@type": "repository",
|
167
|
+
"@href": "/repo/409371",
|
168
|
+
"@representation": "minimal",
|
169
|
+
"id": 409371,
|
170
|
+
"name": "travis.rb",
|
171
|
+
"slug": "travis-ci/travis.rb"
|
172
|
+
},
|
173
|
+
"default_branch": false,
|
174
|
+
"exists_on_github": true,
|
175
|
+
"last_build": {
|
176
|
+
"@type": "build",
|
177
|
+
"@href": "/build/177697219",
|
178
|
+
"@representation": "minimal",
|
179
|
+
"id": 177697219,
|
180
|
+
"number": "786",
|
181
|
+
"state": "passed",
|
182
|
+
"duration": 562,
|
183
|
+
"event_type": "push",
|
184
|
+
"previous_state": "passed",
|
185
|
+
"pull_request_title": null,
|
186
|
+
"pull_request_number": null,
|
187
|
+
"started_at": "2016-11-21T16:11:41Z",
|
188
|
+
"finished_at": "2016-11-21T16:20:48Z"
|
189
|
+
}
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"@type": "branch",
|
193
|
+
"@href": "/repo/409371/branch/debug",
|
194
|
+
"@representation": "standard",
|
195
|
+
"name": "debug",
|
196
|
+
"repository": {
|
197
|
+
"@type": "repository",
|
198
|
+
"@href": "/repo/409371",
|
199
|
+
"@representation": "minimal",
|
200
|
+
"id": 409371,
|
201
|
+
"name": "travis.rb",
|
202
|
+
"slug": "travis-ci/travis.rb"
|
203
|
+
},
|
204
|
+
"default_branch": false,
|
205
|
+
"exists_on_github": true,
|
206
|
+
"last_build": {
|
207
|
+
"@type": "build",
|
208
|
+
"@href": "/build/102107694",
|
209
|
+
"@representation": "minimal",
|
210
|
+
"id": 102107694,
|
211
|
+
"number": "726",
|
212
|
+
"state": "passed",
|
213
|
+
"duration": 343,
|
214
|
+
"event_type": "push",
|
215
|
+
"previous_state": null,
|
216
|
+
"pull_request_title": null,
|
217
|
+
"pull_request_number": null,
|
218
|
+
"started_at": "2016-01-13T14:15:11Z",
|
219
|
+
"finished_at": "2016-01-13T14:17:48Z"
|
220
|
+
}
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"@type": "branch",
|
224
|
+
"@href": "/repo/409371/branch/db-fix-encrypt-repo-arg-detection",
|
225
|
+
"@representation": "standard",
|
226
|
+
"name": "db-fix-encrypt-repo-arg-detection",
|
227
|
+
"repository": {
|
228
|
+
"@type": "repository",
|
229
|
+
"@href": "/repo/409371",
|
230
|
+
"@representation": "minimal",
|
231
|
+
"id": 409371,
|
232
|
+
"name": "travis.rb",
|
233
|
+
"slug": "travis-ci/travis.rb"
|
234
|
+
},
|
235
|
+
"default_branch": false,
|
236
|
+
"exists_on_github": true,
|
237
|
+
"last_build": {
|
238
|
+
"@type": "build",
|
239
|
+
"@href": "/build/49090056",
|
240
|
+
"@representation": "minimal",
|
241
|
+
"id": 49090056,
|
242
|
+
"number": "666",
|
243
|
+
"state": "failed",
|
244
|
+
"duration": 349,
|
245
|
+
"event_type": "push",
|
246
|
+
"previous_state": null,
|
247
|
+
"pull_request_title": null,
|
248
|
+
"pull_request_number": null,
|
249
|
+
"started_at": "2015-02-01T15:54:33Z",
|
250
|
+
"finished_at": "2015-02-01T15:56:17Z"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"@type": "branch",
|
255
|
+
"@href": "/repo/409371/branch/rkh-heroku-special-token",
|
256
|
+
"@representation": "standard",
|
257
|
+
"name": "rkh-heroku-special-token",
|
258
|
+
"repository": {
|
259
|
+
"@type": "repository",
|
260
|
+
"@href": "/repo/409371",
|
261
|
+
"@representation": "minimal",
|
262
|
+
"id": 409371,
|
263
|
+
"name": "travis.rb",
|
264
|
+
"slug": "travis-ci/travis.rb"
|
265
|
+
},
|
266
|
+
"default_branch": false,
|
267
|
+
"exists_on_github": true,
|
268
|
+
"last_build": {
|
269
|
+
"@type": "build",
|
270
|
+
"@href": "/build/37817833",
|
271
|
+
"@representation": "minimal",
|
272
|
+
"id": 37817833,
|
273
|
+
"number": "648",
|
274
|
+
"state": "passed",
|
275
|
+
"duration": 431,
|
276
|
+
"event_type": "push",
|
277
|
+
"previous_state": null,
|
278
|
+
"pull_request_title": null,
|
279
|
+
"pull_request_number": null,
|
280
|
+
"started_at": "2014-10-13T12:02:10Z",
|
281
|
+
"finished_at": "2014-10-13T12:05:19Z"
|
282
|
+
}
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"@type": "branch",
|
286
|
+
"@href": "/repo/409371/branch/ha-bug-deploy_problems",
|
287
|
+
"@representation": "standard",
|
288
|
+
"name": "ha-bug-deploy_problems",
|
289
|
+
"repository": {
|
290
|
+
"@type": "repository",
|
291
|
+
"@href": "/repo/409371",
|
292
|
+
"@representation": "minimal",
|
293
|
+
"id": 409371,
|
294
|
+
"name": "travis.rb",
|
295
|
+
"slug": "travis-ci/travis.rb"
|
296
|
+
},
|
297
|
+
"default_branch": false,
|
298
|
+
"exists_on_github": true,
|
299
|
+
"last_build": {
|
300
|
+
"@type": "build",
|
301
|
+
"@href": "/build/23672116",
|
302
|
+
"@representation": "minimal",
|
303
|
+
"id": 23672116,
|
304
|
+
"number": "497",
|
305
|
+
"state": "passed",
|
306
|
+
"duration": 1381,
|
307
|
+
"event_type": "push",
|
308
|
+
"previous_state": "errored",
|
309
|
+
"pull_request_title": null,
|
310
|
+
"pull_request_number": null,
|
311
|
+
"started_at": "2014-04-24T12:54:26Z",
|
312
|
+
"finished_at": "2014-04-24T13:00:37Z"
|
313
|
+
}
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"@type": "branch",
|
317
|
+
"@href": "/repo/409371/branch/v1.8.8",
|
318
|
+
"@representation": "standard",
|
319
|
+
"name": "v1.8.8",
|
320
|
+
"repository": {
|
321
|
+
"@type": "repository",
|
322
|
+
"@href": "/repo/409371",
|
323
|
+
"@representation": "minimal",
|
324
|
+
"id": 409371,
|
325
|
+
"name": "travis.rb",
|
326
|
+
"slug": "travis-ci/travis.rb"
|
327
|
+
},
|
328
|
+
"default_branch": false,
|
329
|
+
"exists_on_github": false,
|
330
|
+
"last_build": {
|
331
|
+
"@type": "build",
|
332
|
+
"@href": "/build/207350503",
|
333
|
+
"@representation": "minimal",
|
334
|
+
"id": 207350503,
|
335
|
+
"number": "827",
|
336
|
+
"state": "passed",
|
337
|
+
"duration": 538,
|
338
|
+
"event_type": "push",
|
339
|
+
"previous_state": null,
|
340
|
+
"pull_request_title": null,
|
341
|
+
"pull_request_number": null,
|
342
|
+
"started_at": "2017-03-03T13:04:25Z",
|
343
|
+
"finished_at": "2017-03-03T13:19:38Z"
|
344
|
+
}
|
345
|
+
}
|
346
|
+
]
|
347
|
+
}
|
@@ -0,0 +1,347 @@
|
|
1
|
+
GET https://api.travis-ci.org/repo/409371/branches?limit=10&offset=0 HTTP/1.1
|
2
|
+
Accept: application/json
|
3
|
+
Travis-API-Version: 3
|
4
|
+
|
5
|
+
HTTP/1.1 200 OK
|
6
|
+
Content-Type: application/json
|
7
|
+
|
8
|
+
{
|
9
|
+
"@type": "branches",
|
10
|
+
"@href": "/repo/409371/branches?limit=10",
|
11
|
+
"@representation": "standard",
|
12
|
+
"@pagination": {
|
13
|
+
"limit": 10,
|
14
|
+
"offset": 0,
|
15
|
+
"count": 22,
|
16
|
+
"is_first": true,
|
17
|
+
"is_last": false,
|
18
|
+
"next": {
|
19
|
+
"@href": "/repo/409371/branches?limit=10&offset=10",
|
20
|
+
"offset": 10,
|
21
|
+
"limit": 10
|
22
|
+
},
|
23
|
+
"prev": null,
|
24
|
+
"first": {
|
25
|
+
"@href": "/repo/409371/branches?limit=10",
|
26
|
+
"offset": 0,
|
27
|
+
"limit": 10
|
28
|
+
},
|
29
|
+
"last": {
|
30
|
+
"@href": "/repo/409371/branches?limit=10&offset=20",
|
31
|
+
"offset": 20,
|
32
|
+
"limit": 10
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"branches": [
|
36
|
+
{
|
37
|
+
"@type": "branch",
|
38
|
+
"@href": "/repo/409371/branch/master",
|
39
|
+
"@representation": "standard",
|
40
|
+
"name": "master",
|
41
|
+
"repository": {
|
42
|
+
"@type": "repository",
|
43
|
+
"@href": "/repo/409371",
|
44
|
+
"@representation": "minimal",
|
45
|
+
"id": 409371,
|
46
|
+
"name": "travis.rb",
|
47
|
+
"slug": "travis-ci/travis.rb"
|
48
|
+
},
|
49
|
+
"default_branch": true,
|
50
|
+
"exists_on_github": true,
|
51
|
+
"last_build": {
|
52
|
+
"@type": "build",
|
53
|
+
"@href": "/build/207350319",
|
54
|
+
"@representation": "minimal",
|
55
|
+
"id": 207350319,
|
56
|
+
"number": "826",
|
57
|
+
"state": "passed",
|
58
|
+
"duration": 523,
|
59
|
+
"event_type": "push",
|
60
|
+
"previous_state": "passed",
|
61
|
+
"pull_request_title": null,
|
62
|
+
"pull_request_number": null,
|
63
|
+
"started_at": "2017-03-03T13:03:34Z",
|
64
|
+
"finished_at": "2017-03-03T13:16:52Z"
|
65
|
+
}
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"@type": "branch",
|
69
|
+
"@href": "/repo/409371/branch/ag-bump-version",
|
70
|
+
"@representation": "standard",
|
71
|
+
"name": "ag-bump-version",
|
72
|
+
"repository": {
|
73
|
+
"@type": "repository",
|
74
|
+
"@href": "/repo/409371",
|
75
|
+
"@representation": "minimal",
|
76
|
+
"id": 409371,
|
77
|
+
"name": "travis.rb",
|
78
|
+
"slug": "travis-ci/travis.rb"
|
79
|
+
},
|
80
|
+
"default_branch": false,
|
81
|
+
"exists_on_github": true,
|
82
|
+
"last_build": {
|
83
|
+
"@type": "build",
|
84
|
+
"@href": "/build/207345748",
|
85
|
+
"@representation": "minimal",
|
86
|
+
"id": 207345748,
|
87
|
+
"number": "824",
|
88
|
+
"state": "passed",
|
89
|
+
"duration": 498,
|
90
|
+
"event_type": "push",
|
91
|
+
"previous_state": null,
|
92
|
+
"pull_request_title": null,
|
93
|
+
"pull_request_number": null,
|
94
|
+
"started_at": "2017-03-03T12:49:48Z",
|
95
|
+
"finished_at": "2017-03-03T12:56:13Z"
|
96
|
+
}
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"@type": "branch",
|
100
|
+
"@href": "/repo/409371/branch/ag-test-autologin",
|
101
|
+
"@representation": "standard",
|
102
|
+
"name": "ag-test-autologin",
|
103
|
+
"repository": {
|
104
|
+
"@type": "repository",
|
105
|
+
"@href": "/repo/409371",
|
106
|
+
"@representation": "minimal",
|
107
|
+
"id": 409371,
|
108
|
+
"name": "travis.rb",
|
109
|
+
"slug": "travis-ci/travis.rb"
|
110
|
+
},
|
111
|
+
"default_branch": false,
|
112
|
+
"exists_on_github": true,
|
113
|
+
"last_build": {
|
114
|
+
"@type": "build",
|
115
|
+
"@href": "/build/207337389",
|
116
|
+
"@representation": "minimal",
|
117
|
+
"id": 207337389,
|
118
|
+
"number": "821",
|
119
|
+
"state": "passed",
|
120
|
+
"duration": 531,
|
121
|
+
"event_type": "push",
|
122
|
+
"previous_state": "failed",
|
123
|
+
"pull_request_title": null,
|
124
|
+
"pull_request_number": null,
|
125
|
+
"started_at": "2017-03-03T12:09:38Z",
|
126
|
+
"finished_at": "2017-03-03T12:25:36Z"
|
127
|
+
}
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"@type": "branch",
|
131
|
+
"@href": "/repo/409371/branch/rkh-2fa-login",
|
132
|
+
"@representation": "standard",
|
133
|
+
"name": "rkh-2fa-login",
|
134
|
+
"repository": {
|
135
|
+
"@type": "repository",
|
136
|
+
"@href": "/repo/409371",
|
137
|
+
"@representation": "minimal",
|
138
|
+
"id": 409371,
|
139
|
+
"name": "travis.rb",
|
140
|
+
"slug": "travis-ci/travis.rb"
|
141
|
+
},
|
142
|
+
"default_branch": false,
|
143
|
+
"exists_on_github": true,
|
144
|
+
"last_build": {
|
145
|
+
"@type": "build",
|
146
|
+
"@href": "/build/178040816",
|
147
|
+
"@representation": "minimal",
|
148
|
+
"id": 178040816,
|
149
|
+
"number": "792",
|
150
|
+
"state": "passed",
|
151
|
+
"duration": 655,
|
152
|
+
"event_type": "push",
|
153
|
+
"previous_state": "errored",
|
154
|
+
"pull_request_title": null,
|
155
|
+
"pull_request_number": null,
|
156
|
+
"started_at": "2016-11-22T17:17:50Z",
|
157
|
+
"finished_at": "2016-11-22T18:01:23Z"
|
158
|
+
}
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"@type": "branch",
|
162
|
+
"@href": "/repo/409371/branch/cd-login",
|
163
|
+
"@representation": "standard",
|
164
|
+
"name": "cd-login",
|
165
|
+
"repository": {
|
166
|
+
"@type": "repository",
|
167
|
+
"@href": "/repo/409371",
|
168
|
+
"@representation": "minimal",
|
169
|
+
"id": 409371,
|
170
|
+
"name": "travis.rb",
|
171
|
+
"slug": "travis-ci/travis.rb"
|
172
|
+
},
|
173
|
+
"default_branch": false,
|
174
|
+
"exists_on_github": true,
|
175
|
+
"last_build": {
|
176
|
+
"@type": "build",
|
177
|
+
"@href": "/build/177697219",
|
178
|
+
"@representation": "minimal",
|
179
|
+
"id": 177697219,
|
180
|
+
"number": "786",
|
181
|
+
"state": "passed",
|
182
|
+
"duration": 562,
|
183
|
+
"event_type": "push",
|
184
|
+
"previous_state": "passed",
|
185
|
+
"pull_request_title": null,
|
186
|
+
"pull_request_number": null,
|
187
|
+
"started_at": "2016-11-21T16:11:41Z",
|
188
|
+
"finished_at": "2016-11-21T16:20:48Z"
|
189
|
+
}
|
190
|
+
},
|
191
|
+
{
|
192
|
+
"@type": "branch",
|
193
|
+
"@href": "/repo/409371/branch/debug",
|
194
|
+
"@representation": "standard",
|
195
|
+
"name": "debug",
|
196
|
+
"repository": {
|
197
|
+
"@type": "repository",
|
198
|
+
"@href": "/repo/409371",
|
199
|
+
"@representation": "minimal",
|
200
|
+
"id": 409371,
|
201
|
+
"name": "travis.rb",
|
202
|
+
"slug": "travis-ci/travis.rb"
|
203
|
+
},
|
204
|
+
"default_branch": false,
|
205
|
+
"exists_on_github": true,
|
206
|
+
"last_build": {
|
207
|
+
"@type": "build",
|
208
|
+
"@href": "/build/102107694",
|
209
|
+
"@representation": "minimal",
|
210
|
+
"id": 102107694,
|
211
|
+
"number": "726",
|
212
|
+
"state": "passed",
|
213
|
+
"duration": 343,
|
214
|
+
"event_type": "push",
|
215
|
+
"previous_state": null,
|
216
|
+
"pull_request_title": null,
|
217
|
+
"pull_request_number": null,
|
218
|
+
"started_at": "2016-01-13T14:15:11Z",
|
219
|
+
"finished_at": "2016-01-13T14:17:48Z"
|
220
|
+
}
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"@type": "branch",
|
224
|
+
"@href": "/repo/409371/branch/db-fix-encrypt-repo-arg-detection",
|
225
|
+
"@representation": "standard",
|
226
|
+
"name": "db-fix-encrypt-repo-arg-detection",
|
227
|
+
"repository": {
|
228
|
+
"@type": "repository",
|
229
|
+
"@href": "/repo/409371",
|
230
|
+
"@representation": "minimal",
|
231
|
+
"id": 409371,
|
232
|
+
"name": "travis.rb",
|
233
|
+
"slug": "travis-ci/travis.rb"
|
234
|
+
},
|
235
|
+
"default_branch": false,
|
236
|
+
"exists_on_github": true,
|
237
|
+
"last_build": {
|
238
|
+
"@type": "build",
|
239
|
+
"@href": "/build/49090056",
|
240
|
+
"@representation": "minimal",
|
241
|
+
"id": 49090056,
|
242
|
+
"number": "666",
|
243
|
+
"state": "failed",
|
244
|
+
"duration": 349,
|
245
|
+
"event_type": "push",
|
246
|
+
"previous_state": null,
|
247
|
+
"pull_request_title": null,
|
248
|
+
"pull_request_number": null,
|
249
|
+
"started_at": "2015-02-01T15:54:33Z",
|
250
|
+
"finished_at": "2015-02-01T15:56:17Z"
|
251
|
+
}
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"@type": "branch",
|
255
|
+
"@href": "/repo/409371/branch/rkh-heroku-special-token",
|
256
|
+
"@representation": "standard",
|
257
|
+
"name": "rkh-heroku-special-token",
|
258
|
+
"repository": {
|
259
|
+
"@type": "repository",
|
260
|
+
"@href": "/repo/409371",
|
261
|
+
"@representation": "minimal",
|
262
|
+
"id": 409371,
|
263
|
+
"name": "travis.rb",
|
264
|
+
"slug": "travis-ci/travis.rb"
|
265
|
+
},
|
266
|
+
"default_branch": false,
|
267
|
+
"exists_on_github": true,
|
268
|
+
"last_build": {
|
269
|
+
"@type": "build",
|
270
|
+
"@href": "/build/37817833",
|
271
|
+
"@representation": "minimal",
|
272
|
+
"id": 37817833,
|
273
|
+
"number": "648",
|
274
|
+
"state": "passed",
|
275
|
+
"duration": 431,
|
276
|
+
"event_type": "push",
|
277
|
+
"previous_state": null,
|
278
|
+
"pull_request_title": null,
|
279
|
+
"pull_request_number": null,
|
280
|
+
"started_at": "2014-10-13T12:02:10Z",
|
281
|
+
"finished_at": "2014-10-13T12:05:19Z"
|
282
|
+
}
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"@type": "branch",
|
286
|
+
"@href": "/repo/409371/branch/ha-bug-deploy_problems",
|
287
|
+
"@representation": "standard",
|
288
|
+
"name": "ha-bug-deploy_problems",
|
289
|
+
"repository": {
|
290
|
+
"@type": "repository",
|
291
|
+
"@href": "/repo/409371",
|
292
|
+
"@representation": "minimal",
|
293
|
+
"id": 409371,
|
294
|
+
"name": "travis.rb",
|
295
|
+
"slug": "travis-ci/travis.rb"
|
296
|
+
},
|
297
|
+
"default_branch": false,
|
298
|
+
"exists_on_github": true,
|
299
|
+
"last_build": {
|
300
|
+
"@type": "build",
|
301
|
+
"@href": "/build/23672116",
|
302
|
+
"@representation": "minimal",
|
303
|
+
"id": 23672116,
|
304
|
+
"number": "497",
|
305
|
+
"state": "passed",
|
306
|
+
"duration": 1381,
|
307
|
+
"event_type": "push",
|
308
|
+
"previous_state": "errored",
|
309
|
+
"pull_request_title": null,
|
310
|
+
"pull_request_number": null,
|
311
|
+
"started_at": "2014-04-24T12:54:26Z",
|
312
|
+
"finished_at": "2014-04-24T13:00:37Z"
|
313
|
+
}
|
314
|
+
},
|
315
|
+
{
|
316
|
+
"@type": "branch",
|
317
|
+
"@href": "/repo/409371/branch/v1.8.8",
|
318
|
+
"@representation": "standard",
|
319
|
+
"name": "v1.8.8",
|
320
|
+
"repository": {
|
321
|
+
"@type": "repository",
|
322
|
+
"@href": "/repo/409371",
|
323
|
+
"@representation": "minimal",
|
324
|
+
"id": 409371,
|
325
|
+
"name": "travis.rb",
|
326
|
+
"slug": "travis-ci/travis.rb"
|
327
|
+
},
|
328
|
+
"default_branch": false,
|
329
|
+
"exists_on_github": false,
|
330
|
+
"last_build": {
|
331
|
+
"@type": "build",
|
332
|
+
"@href": "/build/207350503",
|
333
|
+
"@representation": "minimal",
|
334
|
+
"id": 207350503,
|
335
|
+
"number": "827",
|
336
|
+
"state": "passed",
|
337
|
+
"duration": 538,
|
338
|
+
"event_type": "push",
|
339
|
+
"previous_state": null,
|
340
|
+
"pull_request_title": null,
|
341
|
+
"pull_request_number": null,
|
342
|
+
"started_at": "2017-03-03T13:04:25Z",
|
343
|
+
"finished_at": "2017-03-03T13:19:38Z"
|
344
|
+
}
|
345
|
+
}
|
346
|
+
]
|
347
|
+
}
|