travis 1.11.1 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -3
- data/Rakefile +22 -20
- data/bin/travis +5 -3
- data/examples/org_overview.rb +2 -0
- data/examples/pro_auth.rb +3 -1
- data/examples/stream.rb +5 -3
- data/lib/travis/auto_login.rb +2 -0
- data/lib/travis/cli/accounts.rb +12 -9
- data/lib/travis/cli/api_command.rb +85 -81
- data/lib/travis/cli/branches.rb +8 -6
- data/lib/travis/cli/cache.rb +48 -44
- data/lib/travis/cli/cancel.rb +4 -2
- data/lib/travis/cli/command.rb +170 -142
- data/lib/travis/cli/console.rb +5 -5
- data/lib/travis/cli/disable.rb +4 -2
- data/lib/travis/cli/enable.rb +14 -12
- data/lib/travis/cli/encrypt.rb +57 -57
- data/lib/travis/cli/encrypt_file.rb +29 -18
- data/lib/travis/cli/endpoint.rb +9 -7
- data/lib/travis/cli/env.rb +13 -8
- data/lib/travis/cli/help.rb +10 -8
- data/lib/travis/cli/history.rb +19 -15
- data/lib/travis/cli/init.rb +27 -24
- data/lib/travis/cli/lint.rb +10 -8
- data/lib/travis/cli/login.rb +17 -11
- data/lib/travis/cli/logout.rb +4 -2
- data/lib/travis/cli/logs.rb +28 -19
- data/lib/travis/cli/monitor.rb +11 -8
- data/lib/travis/cli/open.rb +17 -14
- data/lib/travis/cli/parser.rb +2 -0
- data/lib/travis/cli/pubkey.rb +13 -11
- data/lib/travis/cli/raw.rb +4 -3
- data/lib/travis/cli/repo_command.rb +123 -112
- data/lib/travis/cli/report.rb +40 -33
- data/lib/travis/cli/repos.rb +14 -9
- data/lib/travis/cli/requests.rb +13 -12
- data/lib/travis/cli/restart.rb +4 -2
- data/lib/travis/cli/settings.rb +41 -35
- data/lib/travis/cli/setup/anynines.rb +7 -6
- data/lib/travis/cli/setup/appfog.rb +6 -4
- data/lib/travis/cli/setup/artifacts.rb +7 -5
- data/lib/travis/cli/setup/biicode.rb +6 -4
- data/lib/travis/cli/setup/cloud_66.rb +6 -4
- data/lib/travis/cli/setup/cloud_control.rb +8 -6
- data/lib/travis/cli/setup/cloud_files.rb +7 -5
- data/lib/travis/cli/setup/cloud_foundry.rb +9 -7
- data/lib/travis/cli/setup/code_deploy.rb +33 -29
- data/lib/travis/cli/setup/deis.rb +8 -6
- data/lib/travis/cli/setup/divshot.rb +20 -18
- data/lib/travis/cli/setup/elastic_beanstalk.rb +10 -8
- data/lib/travis/cli/setup/engine_yard.rb +9 -7
- data/lib/travis/cli/setup/gcs.rb +9 -7
- data/lib/travis/cli/setup/hackage.rb +6 -4
- data/lib/travis/cli/setup/heroku.rb +10 -4
- data/lib/travis/cli/setup/modulus.rb +5 -3
- data/lib/travis/cli/setup/ninefold.rb +7 -5
- data/lib/travis/cli/setup/nodejitsu.rb +6 -4
- data/lib/travis/cli/setup/npm.rb +6 -4
- data/lib/travis/cli/setup/open_shift.rb +8 -6
- data/lib/travis/cli/setup/opsworks.rb +24 -22
- data/lib/travis/cli/setup/pypi.rb +7 -5
- data/lib/travis/cli/setup/releases.rb +6 -6
- data/lib/travis/cli/setup/ruby_gems.rb +7 -5
- data/lib/travis/cli/setup/s3.rb +12 -8
- data/lib/travis/cli/setup/sauce_connect.rb +7 -5
- data/lib/travis/cli/setup/service.rb +36 -25
- data/lib/travis/cli/setup.rb +7 -3
- data/lib/travis/cli/show.rb +10 -8
- data/lib/travis/cli/sshkey.rb +31 -27
- data/lib/travis/cli/status.rb +5 -3
- data/lib/travis/cli/sync.rb +9 -7
- data/lib/travis/cli/token.rb +4 -2
- data/lib/travis/cli/version.rb +4 -3
- data/lib/travis/cli/whatsup.rb +10 -8
- data/lib/travis/cli/whoami.rb +2 -2
- data/lib/travis/cli.rb +39 -36
- data/lib/travis/client/account.rb +8 -6
- data/lib/travis/client/artifact.rb +16 -12
- data/lib/travis/client/auto_login.rb +7 -4
- data/lib/travis/client/broadcast.rb +2 -0
- data/lib/travis/client/build.rb +7 -3
- data/lib/travis/client/cache.rb +4 -2
- data/lib/travis/client/commit.rb +5 -2
- data/lib/travis/client/entity.rb +50 -46
- data/lib/travis/client/env_var.rb +13 -8
- data/lib/travis/client/error.rb +5 -3
- data/lib/travis/client/has_uuid.rb +3 -1
- data/lib/travis/client/job.rb +8 -3
- data/lib/travis/client/lint_result.rb +2 -0
- data/lib/travis/client/listener.rb +70 -55
- data/lib/travis/client/methods.rb +10 -5
- data/lib/travis/client/namespace.rb +20 -16
- data/lib/travis/client/not_loadable.rb +3 -1
- data/lib/travis/client/repository.rb +34 -22
- data/lib/travis/client/request.rb +5 -2
- data/lib/travis/client/restartable.rb +2 -0
- data/lib/travis/client/session.rb +118 -88
- data/lib/travis/client/settings.rb +8 -3
- data/lib/travis/client/singleton_setting.rb +2 -0
- data/lib/travis/client/ssh_key.rb +2 -0
- data/lib/travis/client/states.rb +8 -6
- data/lib/travis/client/user.rb +2 -0
- data/lib/travis/client/weak_entity.rb +6 -3
- data/lib/travis/client.rb +4 -1
- data/lib/travis/pro/auto_login.rb +2 -0
- data/lib/travis/pro.rb +2 -0
- data/lib/travis/tools/assets.rb +6 -3
- data/lib/travis/tools/completion.rb +10 -6
- data/lib/travis/tools/formatter.rb +20 -14
- data/lib/travis/tools/github.rb +59 -49
- data/lib/travis/tools/notification.rb +18 -13
- data/lib/travis/tools/safe_string.rb +4 -1
- data/lib/travis/tools/ssl_key.rb +5 -2
- data/lib/travis/tools/system.rb +11 -6
- data/lib/travis/version.rb +3 -1
- data/lib/travis.rb +3 -1
- data/spec/cli/api_command_spec.rb +11 -8
- data/spec/cli/cancel_spec.rb +2 -4
- data/spec/cli/encrypt_file_spec.rb +9 -7
- data/spec/cli/encrypt_spec.rb +19 -17
- data/spec/cli/endpoint_spec.rb +12 -10
- data/spec/cli/help_spec.rb +14 -12
- data/spec/cli/history_spec.rb +2 -0
- data/spec/cli/init_spec.rb +35 -33
- data/spec/cli/logs_spec.rb +2 -0
- data/spec/cli/open_spec.rb +6 -4
- data/spec/cli/repo_command_spec.rb +8 -4
- data/spec/cli/restart_spec.rb +2 -4
- data/spec/cli/setup/service_spec.rb +17 -18
- data/spec/cli/setup_spec.rb +2 -4
- data/spec/cli/show_spec.rb +4 -2
- data/spec/cli/status_spec.rb +7 -5
- data/spec/cli/token_spec.rb +7 -5
- data/spec/cli/version_spec.rb +2 -0
- data/spec/cli/whoami_spec.rb +9 -7
- data/spec/client/account_spec.rb +28 -20
- data/spec/client/auto_login_spec.rb +12 -9
- data/spec/client/broadcast_spec.rb +5 -3
- data/spec/client/build_spec.rb +28 -24
- data/spec/client/commit_spec.rb +17 -14
- data/spec/client/job_spec.rb +27 -23
- data/spec/client/methods_spec.rb +8 -4
- data/spec/client/namespace_spec.rb +8 -4
- data/spec/client/repository_spec.rb +33 -30
- data/spec/client/session_spec.rb +71 -67
- data/spec/client/user_spec.rb +13 -10
- data/spec/client_spec.rb +6 -4
- data/spec/pro_spec.rb +5 -3
- data/spec/spec_helper.rb +3 -1
- data/spec/support/fake_api.rb +662 -662
- data/spec/support/fake_github.rb +6 -3
- data/spec/support/helpers.rb +13 -8
- data/spec/travis_spec.rb +5 -3
- data/travis.gemspec +400 -399
- metadata +30 -50
data/spec/support/fake_api.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'sinatra/base'
|
2
4
|
require 'travis/client/session'
|
3
5
|
|
@@ -9,7 +11,7 @@ module Travis
|
|
9
11
|
class FakeAPI < Sinatra::Base
|
10
12
|
disable :protection
|
11
13
|
enable :raise_errors
|
12
|
-
set :rails_description,
|
14
|
+
set :rails_description, 'Ruby on Rails'
|
13
15
|
|
14
16
|
before do
|
15
17
|
content_type :json
|
@@ -20,663 +22,663 @@ module Travis
|
|
20
22
|
end
|
21
23
|
|
22
24
|
get '/' do
|
23
|
-
|
25
|
+
'{}'
|
24
26
|
end
|
25
27
|
|
26
28
|
get '/users/' do
|
27
29
|
halt(403, 'wrong token') unless authorized?
|
28
|
-
{
|
29
|
-
{
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
30
|
+
{ 'user' =>
|
31
|
+
{ 'id' => 267,
|
32
|
+
'name' => 'Konstantin Haase',
|
33
|
+
'login' => 'rkh',
|
34
|
+
'email' => 'konstantin.haase@gmail.com',
|
35
|
+
'gravatar_id' => '5c2b452f6eea4a6d84c105ebd971d2a4',
|
36
|
+
'locale' => 'en',
|
37
|
+
'is_syncing' => false,
|
38
|
+
'synced_at' => '2012-10-27T12:52:25Z',
|
39
|
+
'correct_scopes' => true } }.to_json
|
38
40
|
end
|
39
41
|
|
40
42
|
get '/logout' do
|
41
43
|
halt(403, 'wrong token') unless authorized?
|
42
|
-
{
|
43
|
-
{
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
44
|
+
{ 'user' =>
|
45
|
+
{ 'id' => 267,
|
46
|
+
'name' => 'Konstantin Haase',
|
47
|
+
'login' => 'rkh',
|
48
|
+
'email' => 'konstantin.haase@gmail.com',
|
49
|
+
'gravatar_id' => '5c2b452f6eea4a6d84c105ebd971d2a4',
|
50
|
+
'locale' => 'en',
|
51
|
+
'is_syncing' => false,
|
52
|
+
'synced_at' => '2012-10-27T12:52:25Z',
|
53
|
+
'correct_scopes' => true } }.to_json
|
52
54
|
end
|
53
55
|
|
54
56
|
get '/jobs/4125097' do
|
55
|
-
{
|
56
|
-
{
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
{
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
{
|
70
|
-
|
71
|
-
{
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
{
|
76
|
-
|
77
|
-
|
78
|
-
[{
|
79
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
{
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
}.to_json
|
57
|
+
{ 'job' =>
|
58
|
+
{ 'id' => 4_125_097,
|
59
|
+
'repository_id' => 891,
|
60
|
+
'repository_slug' => 'rails/rails',
|
61
|
+
'build_id' => 4_125_095,
|
62
|
+
'commit_id' => 1_201_631,
|
63
|
+
'log_id' => 3_168_319,
|
64
|
+
'number' => '6180.2',
|
65
|
+
'config' =>
|
66
|
+
{ 'script' => 'ci/travis.rb',
|
67
|
+
'before_install' => ['gem install bundler'],
|
68
|
+
'rvm' => '1.9.3',
|
69
|
+
'env' => 'GEM=ap,am,amo,as',
|
70
|
+
'notifications' =>
|
71
|
+
{ 'email' => false,
|
72
|
+
'irc' =>
|
73
|
+
{ 'on_success' => 'change',
|
74
|
+
'on_failure' => 'always',
|
75
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
76
|
+
'campfire' =>
|
77
|
+
{ 'on_success' => 'change',
|
78
|
+
'on_failure' => 'always',
|
79
|
+
'rooms' =>
|
80
|
+
[{ 'secure' =>
|
81
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
82
|
+
'bundler_args' => '--path vendor/bundle',
|
83
|
+
'.result' => 'configured' },
|
84
|
+
'state' => 'passed',
|
85
|
+
'started_at' => '2013-01-13T15:55:59Z',
|
86
|
+
'finished_at' => '2013-01-13T16:11:04Z',
|
87
|
+
'queue' => 'builds.rails',
|
88
|
+
'allow_failure' => false,
|
89
|
+
'tags' => '' },
|
90
|
+
'commit' =>
|
91
|
+
{ 'id' => 1_201_631,
|
92
|
+
'sha' => 'a0265b98f16c6e33be32aa3f57231d1189302400',
|
93
|
+
'branch' => 'master',
|
94
|
+
'message' => 'Associaton -> Association',
|
95
|
+
'committed_at' => '2013-01-13T15:43:24Z',
|
96
|
+
'author_name' => 'Steve Klabnik',
|
97
|
+
'author_email' => 'steve@steveklabnik.com',
|
98
|
+
'committer_name' => 'Steve Klabnik',
|
99
|
+
'committer_email' => 'steve@steveklabnik.com',
|
100
|
+
'compare_url' =>
|
101
|
+
'https://github.com/rails/rails/compare/6581d798e830...a0265b98f16c' } }.to_json
|
101
102
|
end
|
102
103
|
|
103
104
|
get '/builds/4125095' do
|
104
|
-
{
|
105
|
-
{
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
{
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
[
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
{
|
123
|
-
|
124
|
-
{
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
{
|
129
|
-
|
130
|
-
|
131
|
-
[{
|
132
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
[
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
{
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
[{
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
{
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
{
|
179
|
-
|
180
|
-
{
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
{
|
185
|
-
|
186
|
-
|
187
|
-
[{
|
188
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
{
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
{
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
{
|
210
|
-
|
211
|
-
{
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
{
|
216
|
-
|
217
|
-
|
218
|
-
[{
|
219
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
{
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
{
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
{
|
241
|
-
|
242
|
-
{
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
{
|
247
|
-
|
248
|
-
|
249
|
-
[{
|
250
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
{
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
{
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
{
|
272
|
-
|
273
|
-
{
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
{
|
278
|
-
|
279
|
-
|
280
|
-
[{
|
281
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
{
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
{
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
{
|
303
|
-
|
304
|
-
{
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
{
|
309
|
-
|
310
|
-
|
311
|
-
[{
|
312
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
{
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
{
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
{
|
334
|
-
|
335
|
-
{
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
{
|
340
|
-
|
341
|
-
|
342
|
-
[{
|
343
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
{
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
{
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
{
|
365
|
-
|
366
|
-
{
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
{
|
371
|
-
|
372
|
-
|
373
|
-
[{
|
374
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
{
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
{
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
{
|
396
|
-
|
397
|
-
{
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
{
|
402
|
-
|
403
|
-
|
404
|
-
[{
|
405
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
412
|
-
|
413
|
-
{
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
{
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
{
|
427
|
-
|
428
|
-
{
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
{
|
433
|
-
|
434
|
-
|
435
|
-
[{
|
436
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
{
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
{
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
{
|
458
|
-
|
459
|
-
{
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
{
|
464
|
-
|
465
|
-
|
466
|
-
[{
|
467
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
{
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
{
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
|
488
|
-
{
|
489
|
-
|
490
|
-
{
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
{
|
495
|
-
|
496
|
-
|
497
|
-
[{
|
498
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
499
|
-
|
500
|
-
|
501
|
-
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
{
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
{
|
515
|
-
|
516
|
-
|
517
|
-
|
518
|
-
|
519
|
-
{
|
520
|
-
|
521
|
-
{
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
{
|
526
|
-
|
527
|
-
|
528
|
-
[{
|
529
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
105
|
+
{ 'build' =>
|
106
|
+
{ 'id' => 4_125_095,
|
107
|
+
'repository_id' => 891,
|
108
|
+
'commit_id' => 1_201_631,
|
109
|
+
'number' => '6180',
|
110
|
+
'pull_request' => false,
|
111
|
+
'config' =>
|
112
|
+
{ 'script' => 'ci/travis.rb',
|
113
|
+
'before_install' => ['gem install bundler'],
|
114
|
+
'rvm' => ['1.9.3', '2.0.0'],
|
115
|
+
'env' =>
|
116
|
+
['GEM=railties',
|
117
|
+
'GEM=ap,am,amo,as',
|
118
|
+
'GEM=ar:mysql',
|
119
|
+
'GEM=ar:mysql2',
|
120
|
+
'GEM=ar:sqlite3',
|
121
|
+
'GEM=ar:postgresql'],
|
122
|
+
'notifications' =>
|
123
|
+
{ 'email' => false,
|
124
|
+
'irc' =>
|
125
|
+
{ 'on_success' => 'change',
|
126
|
+
'on_failure' => 'always',
|
127
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
128
|
+
'campfire' =>
|
129
|
+
{ 'on_success' => 'change',
|
130
|
+
'on_failure' => 'always',
|
131
|
+
'rooms' =>
|
132
|
+
[{ 'secure' =>
|
133
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
134
|
+
'bundler_args' => '--path vendor/bundle',
|
135
|
+
'.result' => 'configured' },
|
136
|
+
'state' => 'failed',
|
137
|
+
'started_at' => '2013-01-13T15:55:17Z',
|
138
|
+
'finished_at' => nil,
|
139
|
+
'duration' => 5019,
|
140
|
+
'job_ids' =>
|
141
|
+
[4_125_096,
|
142
|
+
4_125_097,
|
143
|
+
4_125_098,
|
144
|
+
4_125_099,
|
145
|
+
4_125_100,
|
146
|
+
4_125_101,
|
147
|
+
4_125_102,
|
148
|
+
4_125_103,
|
149
|
+
4_125_104,
|
150
|
+
4_125_105,
|
151
|
+
4_125_106,
|
152
|
+
4_125_107] },
|
153
|
+
'commit' =>
|
154
|
+
{ 'id' => 1_201_631,
|
155
|
+
'sha' => 'a0265b98f16c6e33be32aa3f57231d1189302400',
|
156
|
+
'branch' => 'master',
|
157
|
+
'message' => 'Associaton -> Association',
|
158
|
+
'committed_at' => '2013-01-13T15:43:24Z',
|
159
|
+
'author_name' => 'Steve Klabnik',
|
160
|
+
'author_email' => 'steve@steveklabnik.com',
|
161
|
+
'committer_name' => 'Steve Klabnik',
|
162
|
+
'committer_email' => 'steve@steveklabnik.com',
|
163
|
+
'compare_url' =>
|
164
|
+
'https://github.com/rails/rails/compare/6581d798e830...a0265b98f16c' },
|
165
|
+
'jobs' =>
|
166
|
+
[{ 'id' => 4_125_096,
|
167
|
+
'repository_id' => 891,
|
168
|
+
'build_id' => 4_125_095,
|
169
|
+
'commit_id' => 1_201_631,
|
170
|
+
'log_id' => 3_168_318,
|
171
|
+
'state' => 'failed',
|
172
|
+
'number' => '6180.1',
|
173
|
+
'config' =>
|
174
|
+
{ 'script' => 'ci/travis.rb',
|
175
|
+
'before_install' => ['gem install bundler'],
|
176
|
+
'rvm' => '1.9.3',
|
177
|
+
'env' => 'GEM=railties',
|
178
|
+
'notifications' =>
|
179
|
+
{ 'email' => false,
|
180
|
+
'irc' =>
|
181
|
+
{ 'on_success' => 'change',
|
182
|
+
'on_failure' => 'always',
|
183
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
184
|
+
'campfire' =>
|
185
|
+
{ 'on_success' => 'change',
|
186
|
+
'on_failure' => 'always',
|
187
|
+
'rooms' =>
|
188
|
+
[{ 'secure' =>
|
189
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
190
|
+
'bundler_args' => '--path vendor/bundle',
|
191
|
+
'.result' => 'configured' },
|
192
|
+
'started_at' => '2013-01-13T15:55:59Z',
|
193
|
+
'finished_at' => '2013-01-13T16:10:15Z',
|
194
|
+
'queue' => 'builds.rails',
|
195
|
+
'allow_failure' => false,
|
196
|
+
'tags' => '' },
|
197
|
+
{ 'id' => 4_125_097,
|
198
|
+
'repository_id' => 891,
|
199
|
+
'build_id' => 4_125_095,
|
200
|
+
'commit_id' => 1_201_631,
|
201
|
+
'log_id' => 3_168_319,
|
202
|
+
'state' => 'passed',
|
203
|
+
'number' => '6180.2',
|
204
|
+
'config' =>
|
205
|
+
{ 'script' => 'ci/travis.rb',
|
206
|
+
'before_install' => ['gem install bundler'],
|
207
|
+
'rvm' => '1.9.3',
|
208
|
+
'env' => 'GEM=ap,am,amo,as',
|
209
|
+
'notifications' =>
|
210
|
+
{ 'email' => false,
|
211
|
+
'irc' =>
|
212
|
+
{ 'on_success' => 'change',
|
213
|
+
'on_failure' => 'always',
|
214
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
215
|
+
'campfire' =>
|
216
|
+
{ 'on_success' => 'change',
|
217
|
+
'on_failure' => 'always',
|
218
|
+
'rooms' =>
|
219
|
+
[{ 'secure' =>
|
220
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
221
|
+
'bundler_args' => '--path vendor/bundle',
|
222
|
+
'.result' => 'configured' },
|
223
|
+
'started_at' => '2013-01-13T15:55:59Z',
|
224
|
+
'finished_at' => '2013-01-13T16:11:04Z',
|
225
|
+
'queue' => 'builds.rails',
|
226
|
+
'allow_failure' => false,
|
227
|
+
'tags' => '' },
|
228
|
+
{ 'id' => 4_125_098,
|
229
|
+
'repository_id' => 891,
|
230
|
+
'build_id' => 4_125_095,
|
231
|
+
'commit_id' => 1_201_631,
|
232
|
+
'log_id' => 3_168_320,
|
233
|
+
'state' => 'passed',
|
234
|
+
'number' => '6180.3',
|
235
|
+
'config' =>
|
236
|
+
{ 'script' => 'ci/travis.rb',
|
237
|
+
'before_install' => ['gem install bundler'],
|
238
|
+
'rvm' => '1.9.3',
|
239
|
+
'env' => 'GEM=ar:mysql',
|
240
|
+
'notifications' =>
|
241
|
+
{ 'email' => false,
|
242
|
+
'irc' =>
|
243
|
+
{ 'on_success' => 'change',
|
244
|
+
'on_failure' => 'always',
|
245
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
246
|
+
'campfire' =>
|
247
|
+
{ 'on_success' => 'change',
|
248
|
+
'on_failure' => 'always',
|
249
|
+
'rooms' =>
|
250
|
+
[{ 'secure' =>
|
251
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
252
|
+
'bundler_args' => '--path vendor/bundle',
|
253
|
+
'.result' => 'configured' },
|
254
|
+
'started_at' => '2013-01-13T15:55:59Z',
|
255
|
+
'finished_at' => '2013-01-13T16:08:14Z',
|
256
|
+
'queue' => 'builds.rails',
|
257
|
+
'allow_failure' => false,
|
258
|
+
'tags' => '' },
|
259
|
+
{ 'id' => 4_125_099,
|
260
|
+
'repository_id' => 891,
|
261
|
+
'build_id' => 4_125_095,
|
262
|
+
'commit_id' => 1_201_631,
|
263
|
+
'log_id' => 3_168_321,
|
264
|
+
'state' => 'passed',
|
265
|
+
'number' => '6180.4',
|
266
|
+
'config' =>
|
267
|
+
{ 'script' => 'ci/travis.rb',
|
268
|
+
'before_install' => ['gem install bundler'],
|
269
|
+
'rvm' => '1.9.3',
|
270
|
+
'env' => 'GEM=ar:mysql2',
|
271
|
+
'notifications' =>
|
272
|
+
{ 'email' => false,
|
273
|
+
'irc' =>
|
274
|
+
{ 'on_success' => 'change',
|
275
|
+
'on_failure' => 'always',
|
276
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
277
|
+
'campfire' =>
|
278
|
+
{ 'on_success' => 'change',
|
279
|
+
'on_failure' => 'always',
|
280
|
+
'rooms' =>
|
281
|
+
[{ 'secure' =>
|
282
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
283
|
+
'bundler_args' => '--path vendor/bundle',
|
284
|
+
'.result' => 'configured' },
|
285
|
+
'started_at' => '2013-01-13T15:55:17Z',
|
286
|
+
'finished_at' => '2013-01-13T16:06:15Z',
|
287
|
+
'queue' => 'builds.rails',
|
288
|
+
'allow_failure' => false,
|
289
|
+
'tags' => '' },
|
290
|
+
{ 'id' => 4_125_100,
|
291
|
+
'repository_id' => 891,
|
292
|
+
'build_id' => 4_125_095,
|
293
|
+
'commit_id' => 1_201_631,
|
294
|
+
'log_id' => 3_168_322,
|
295
|
+
'state' => 'passed',
|
296
|
+
'number' => '6180.5',
|
297
|
+
'config' =>
|
298
|
+
{ 'script' => 'ci/travis.rb',
|
299
|
+
'before_install' => ['gem install bundler'],
|
300
|
+
'rvm' => '1.9.3',
|
301
|
+
'env' => 'GEM=ar:sqlite3',
|
302
|
+
'notifications' =>
|
303
|
+
{ 'email' => false,
|
304
|
+
'irc' =>
|
305
|
+
{ 'on_success' => 'change',
|
306
|
+
'on_failure' => 'always',
|
307
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
308
|
+
'campfire' =>
|
309
|
+
{ 'on_success' => 'change',
|
310
|
+
'on_failure' => 'always',
|
311
|
+
'rooms' =>
|
312
|
+
[{ 'secure' =>
|
313
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
314
|
+
'bundler_args' => '--path vendor/bundle',
|
315
|
+
'.result' => 'configured' },
|
316
|
+
'started_at' => '2013-01-13T15:55:58Z',
|
317
|
+
'finished_at' => '2013-01-13T16:08:07Z',
|
318
|
+
'queue' => 'builds.rails',
|
319
|
+
'allow_failure' => false,
|
320
|
+
'tags' => '' },
|
321
|
+
{ 'id' => 4_125_101,
|
322
|
+
'repository_id' => 891,
|
323
|
+
'build_id' => 4_125_095,
|
324
|
+
'commit_id' => 1_201_631,
|
325
|
+
'log_id' => 3_168_323,
|
326
|
+
'state' => 'passed',
|
327
|
+
'number' => '6180.6',
|
328
|
+
'config' =>
|
329
|
+
{ 'script' => 'ci/travis.rb',
|
330
|
+
'before_install' => ['gem install bundler'],
|
331
|
+
'rvm' => '1.9.3',
|
332
|
+
'env' => 'GEM=ar:postgresql',
|
333
|
+
'notifications' =>
|
334
|
+
{ 'email' => false,
|
335
|
+
'irc' =>
|
336
|
+
{ 'on_success' => 'change',
|
337
|
+
'on_failure' => 'always',
|
338
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
339
|
+
'campfire' =>
|
340
|
+
{ 'on_success' => 'change',
|
341
|
+
'on_failure' => 'always',
|
342
|
+
'rooms' =>
|
343
|
+
[{ 'secure' =>
|
344
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
345
|
+
'bundler_args' => '--path vendor/bundle',
|
346
|
+
'.result' => 'configured' },
|
347
|
+
'started_at' => '2013-01-13T15:55:28Z',
|
348
|
+
'finished_at' => '2013-01-13T16:08:41Z',
|
349
|
+
'queue' => 'builds.rails',
|
350
|
+
'allow_failure' => false,
|
351
|
+
'tags' => '' },
|
352
|
+
{ 'id' => 4_125_102,
|
353
|
+
'repository_id' => 891,
|
354
|
+
'build_id' => 4_125_095,
|
355
|
+
'commit_id' => 1_201_631,
|
356
|
+
'log_id' => 3_168_324,
|
357
|
+
'state' => 'failed',
|
358
|
+
'number' => '6180.7',
|
359
|
+
'config' =>
|
360
|
+
{ 'script' => 'ci/travis.rb',
|
361
|
+
'before_install' => ['gem install bundler'],
|
362
|
+
'rvm' => '2.0.0',
|
363
|
+
'env' => 'GEM=railties',
|
364
|
+
'notifications' =>
|
365
|
+
{ 'email' => false,
|
366
|
+
'irc' =>
|
367
|
+
{ 'on_success' => 'change',
|
368
|
+
'on_failure' => 'always',
|
369
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
370
|
+
'campfire' =>
|
371
|
+
{ 'on_success' => 'change',
|
372
|
+
'on_failure' => 'always',
|
373
|
+
'rooms' =>
|
374
|
+
[{ 'secure' =>
|
375
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
376
|
+
'bundler_args' => '--path vendor/bundle',
|
377
|
+
'.result' => 'configured' },
|
378
|
+
'started_at' => '2013-01-13T15:55:17Z',
|
379
|
+
'finished_at' => '2013-01-13T15:56:16Z',
|
380
|
+
'queue' => 'builds.rails',
|
381
|
+
'allow_failure' => false,
|
382
|
+
'tags' => '' },
|
383
|
+
{ 'id' => 4_125_103,
|
384
|
+
'repository_id' => 891,
|
385
|
+
'build_id' => 4_125_095,
|
386
|
+
'commit_id' => 1_201_631,
|
387
|
+
'log_id' => 3_168_325,
|
388
|
+
'state' => 'failed',
|
389
|
+
'number' => '6180.8',
|
390
|
+
'config' =>
|
391
|
+
{ 'script' => 'ci/travis.rb',
|
392
|
+
'before_install' => ['gem install bundler'],
|
393
|
+
'rvm' => '2.0.0',
|
394
|
+
'env' => 'GEM=ap,am,amo,as',
|
395
|
+
'notifications' =>
|
396
|
+
{ 'email' => false,
|
397
|
+
'irc' =>
|
398
|
+
{ 'on_success' => 'change',
|
399
|
+
'on_failure' => 'always',
|
400
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
401
|
+
'campfire' =>
|
402
|
+
{ 'on_success' => 'change',
|
403
|
+
'on_failure' => 'always',
|
404
|
+
'rooms' =>
|
405
|
+
[{ 'secure' =>
|
406
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
407
|
+
'bundler_args' => '--path vendor/bundle',
|
408
|
+
'.result' => 'configured' },
|
409
|
+
'started_at' => '2013-01-13T15:55:58Z',
|
410
|
+
'finished_at' => '2013-01-13T15:56:57Z',
|
411
|
+
'queue' => 'builds.rails',
|
412
|
+
'allow_failure' => false,
|
413
|
+
'tags' => '' },
|
414
|
+
{ 'id' => 4_125_104,
|
415
|
+
'repository_id' => 891,
|
416
|
+
'build_id' => 4_125_095,
|
417
|
+
'commit_id' => 1_201_631,
|
418
|
+
'log_id' => 3_168_326,
|
419
|
+
'state' => 'failed',
|
420
|
+
'number' => '6180.9',
|
421
|
+
'config' =>
|
422
|
+
{ 'script' => 'ci/travis.rb',
|
423
|
+
'before_install' => ['gem install bundler'],
|
424
|
+
'rvm' => '2.0.0',
|
425
|
+
'env' => 'GEM=ar:mysql',
|
426
|
+
'notifications' =>
|
427
|
+
{ 'email' => false,
|
428
|
+
'irc' =>
|
429
|
+
{ 'on_success' => 'change',
|
430
|
+
'on_failure' => 'always',
|
431
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
432
|
+
'campfire' =>
|
433
|
+
{ 'on_success' => 'change',
|
434
|
+
'on_failure' => 'always',
|
435
|
+
'rooms' =>
|
436
|
+
[{ 'secure' =>
|
437
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
438
|
+
'bundler_args' => '--path vendor/bundle',
|
439
|
+
'.result' => 'configured' },
|
440
|
+
'started_at' => '2013-01-13T15:55:18Z',
|
441
|
+
'finished_at' => '2013-01-13T15:56:16Z',
|
442
|
+
'queue' => 'builds.rails',
|
443
|
+
'allow_failure' => false,
|
444
|
+
'tags' => '' },
|
445
|
+
{ 'id' => 4_125_105,
|
446
|
+
'repository_id' => 891,
|
447
|
+
'build_id' => 4_125_095,
|
448
|
+
'commit_id' => 1_201_631,
|
449
|
+
'log_id' => 3_168_327,
|
450
|
+
'state' => 'failed',
|
451
|
+
'number' => '6180.10',
|
452
|
+
'config' =>
|
453
|
+
{ 'script' => 'ci/travis.rb',
|
454
|
+
'before_install' => ['gem install bundler'],
|
455
|
+
'rvm' => '2.0.0',
|
456
|
+
'env' => 'GEM=ar:mysql2',
|
457
|
+
'notifications' =>
|
458
|
+
{ 'email' => false,
|
459
|
+
'irc' =>
|
460
|
+
{ 'on_success' => 'change',
|
461
|
+
'on_failure' => 'always',
|
462
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
463
|
+
'campfire' =>
|
464
|
+
{ 'on_success' => 'change',
|
465
|
+
'on_failure' => 'always',
|
466
|
+
'rooms' =>
|
467
|
+
[{ 'secure' =>
|
468
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
469
|
+
'bundler_args' => '--path vendor/bundle',
|
470
|
+
'.result' => 'configured' },
|
471
|
+
'started_at' => '2013-01-13T15:55:27Z',
|
472
|
+
'finished_at' => '2013-01-13T15:56:23Z',
|
473
|
+
'queue' => 'builds.rails',
|
474
|
+
'allow_failure' => false,
|
475
|
+
'tags' => '' },
|
476
|
+
{ 'id' => 4_125_106,
|
477
|
+
'repository_id' => 891,
|
478
|
+
'build_id' => 4_125_095,
|
479
|
+
'commit_id' => 1_201_631,
|
480
|
+
'log_id' => 3_168_328,
|
481
|
+
'state' => 'failed',
|
482
|
+
'number' => '6180.11',
|
483
|
+
'config' =>
|
484
|
+
{ 'script' => 'ci/travis.rb',
|
485
|
+
'before_install' => ['gem install bundler'],
|
486
|
+
'rvm' => '2.0.0',
|
487
|
+
'env' => 'GEM=ar:sqlite3',
|
488
|
+
'notifications' =>
|
489
|
+
{ 'email' => false,
|
490
|
+
'irc' =>
|
491
|
+
{ 'on_success' => 'change',
|
492
|
+
'on_failure' => 'always',
|
493
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
494
|
+
'campfire' =>
|
495
|
+
{ 'on_success' => 'change',
|
496
|
+
'on_failure' => 'always',
|
497
|
+
'rooms' =>
|
498
|
+
[{ 'secure' =>
|
499
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
500
|
+
'bundler_args' => '--path vendor/bundle',
|
501
|
+
'.result' => 'configured' },
|
502
|
+
'started_at' => '2013-01-13T15:56:47Z',
|
503
|
+
'finished_at' => '2013-01-13T15:57:43Z',
|
504
|
+
'queue' => 'builds.rails',
|
505
|
+
'allow_failure' => false,
|
506
|
+
'tags' => '' },
|
507
|
+
{ 'id' => 4_125_107,
|
508
|
+
'repository_id' => 891,
|
509
|
+
'build_id' => 4_125_095,
|
510
|
+
'commit_id' => 1_201_631,
|
511
|
+
'log_id' => 3_168_329,
|
512
|
+
'state' => 'failed',
|
513
|
+
'number' => '6180.12',
|
514
|
+
'config' =>
|
515
|
+
{ 'script' => 'ci/travis.rb',
|
516
|
+
'before_install' => ['gem install bundler'],
|
517
|
+
'rvm' => '2.0.0',
|
518
|
+
'env' => 'GEM=ar:postgresql',
|
519
|
+
'notifications' =>
|
520
|
+
{ 'email' => false,
|
521
|
+
'irc' =>
|
522
|
+
{ 'on_success' => 'change',
|
523
|
+
'on_failure' => 'always',
|
524
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
525
|
+
'campfire' =>
|
526
|
+
{ 'on_success' => 'change',
|
527
|
+
'on_failure' => 'always',
|
528
|
+
'rooms' =>
|
529
|
+
[{ 'secure' =>
|
530
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
531
|
+
'bundler_args' => '--path vendor/bundle',
|
532
|
+
'.result' => 'configured' },
|
533
|
+
'started_at' => '2013-01-13T15:56:54Z',
|
534
|
+
'finished_at' => '2013-01-13T15:57:49Z',
|
535
|
+
'queue' => 'builds.rails',
|
536
|
+
'allow_failure' => false,
|
537
|
+
'tags' => '' }] }.to_json
|
537
538
|
end
|
538
539
|
|
539
540
|
get '/builds/' do
|
540
|
-
return {
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
|
574
|
-
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
541
|
+
return { 'builds' => [] }.to_json if params[:after_number]
|
542
|
+
|
543
|
+
{ 'builds' =>
|
544
|
+
[{ 'id' => 4_125_095,
|
545
|
+
'repository_id' => 891,
|
546
|
+
'commit_id' => 1_201_631,
|
547
|
+
'number' => '6180',
|
548
|
+
'pull_request' => false,
|
549
|
+
'config' =>
|
550
|
+
{ 'script' => 'ci/travis.rb',
|
551
|
+
'before_install' => ['gem install bundler'],
|
552
|
+
'rvm' => ['1.9.3', '2.0.0'],
|
553
|
+
'env' =>
|
554
|
+
['GEM=railties',
|
555
|
+
'GEM=ap,am,amo,as',
|
556
|
+
'GEM=ar:mysql',
|
557
|
+
'GEM=ar:mysql2',
|
558
|
+
'GEM=ar:sqlite3',
|
559
|
+
'GEM=ar:postgresql'],
|
560
|
+
'notifications' =>
|
561
|
+
{ 'email' => false,
|
562
|
+
'irc' =>
|
563
|
+
{ 'on_success' => 'change',
|
564
|
+
'on_failure' => 'always',
|
565
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
566
|
+
'campfire' =>
|
567
|
+
{ 'on_success' => 'change',
|
568
|
+
'on_failure' => 'always',
|
569
|
+
'rooms' =>
|
570
|
+
[{ 'secure' =>
|
571
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
572
|
+
'bundler_args' => '--path vendor/bundle',
|
573
|
+
'.result' => 'configured' },
|
574
|
+
'state' => 'failed',
|
575
|
+
'started_at' => '2013-01-13T15:55:17Z',
|
576
|
+
'finished_at' => nil,
|
577
|
+
'duration' => 5019,
|
578
|
+
'job_ids' =>
|
579
|
+
[4_125_096,
|
580
|
+
4_125_097,
|
581
|
+
4_125_098,
|
582
|
+
4_125_099,
|
583
|
+
4_125_100,
|
584
|
+
4_125_101,
|
585
|
+
4_125_102,
|
586
|
+
4_125_103,
|
587
|
+
4_125_104,
|
588
|
+
4_125_105,
|
589
|
+
4_125_106,
|
590
|
+
4_125_107] }],
|
591
|
+
'commits' =>
|
592
|
+
[{ 'id' => 1_201_631,
|
593
|
+
'sha' => 'a0265b98f16c6e33be32aa3f57231d1189302400',
|
594
|
+
'branch' => 'master',
|
595
|
+
'message' => 'Associaton -> Association',
|
596
|
+
'committed_at' => '2013-01-13T15:43:24Z',
|
597
|
+
'author_name' => 'Steve Klabnik',
|
598
|
+
'author_email' => 'steve@steveklabnik.com',
|
599
|
+
'committer_name' => 'Steve Klabnik',
|
600
|
+
'committer_email' => 'steve@steveklabnik.com',
|
601
|
+
'compare_url' =>
|
602
|
+
'https://github.com/rails/rails/compare/6581d798e830...a0265b98f16c' }] }.to_json
|
601
603
|
end
|
602
604
|
|
603
605
|
get '/jobs/4125096' do
|
604
|
-
{
|
605
|
-
{
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
{
|
614
|
-
|
615
|
-
|
616
|
-
|
617
|
-
|
618
|
-
{
|
619
|
-
|
620
|
-
{
|
621
|
-
|
622
|
-
|
623
|
-
|
624
|
-
{
|
625
|
-
|
626
|
-
|
627
|
-
[{
|
628
|
-
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
{
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
606
|
+
{ 'job' =>
|
607
|
+
{ 'id' => 4_125_096,
|
608
|
+
'repository_id' => 891,
|
609
|
+
'repository_slug' => 'rails/rails',
|
610
|
+
'build_id' => 4_125_095,
|
611
|
+
'commit_id' => 1_201_631,
|
612
|
+
'log_id' => 3_168_318,
|
613
|
+
'number' => '6180.1',
|
614
|
+
'config' =>
|
615
|
+
{ 'script' => 'ci/travis.rb',
|
616
|
+
'before_install' => ['gem install bundler'],
|
617
|
+
'rvm' => '1.9.3',
|
618
|
+
'env' => 'GEM=railties',
|
619
|
+
'notifications' =>
|
620
|
+
{ 'email' => false,
|
621
|
+
'irc' =>
|
622
|
+
{ 'on_success' => 'change',
|
623
|
+
'on_failure' => 'always',
|
624
|
+
'channels' => ['irc.freenode.org#rails-contrib'] },
|
625
|
+
'campfire' =>
|
626
|
+
{ 'on_success' => 'change',
|
627
|
+
'on_failure' => 'always',
|
628
|
+
'rooms' =>
|
629
|
+
[{ 'secure' =>
|
630
|
+
"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI=" }] } },
|
631
|
+
'bundler_args' => '--path vendor/bundle',
|
632
|
+
'.result' => 'configured' },
|
633
|
+
'state' => 'failed',
|
634
|
+
'started_at' => '2013-01-13T15:55:59Z',
|
635
|
+
'finished_at' => '2013-01-13T16:10:15Z',
|
636
|
+
'queue' => 'builds.rails',
|
637
|
+
'allow_failure' => false,
|
638
|
+
'tags' => '' },
|
639
|
+
'commit' =>
|
640
|
+
{ 'id' => 1_201_631,
|
641
|
+
'sha' => 'a0265b98f16c6e33be32aa3f57231d1189302400',
|
642
|
+
'branch' => 'master',
|
643
|
+
'message' => 'Associaton -> Association',
|
644
|
+
'committed_at' => '2013-01-13T15:43:24Z',
|
645
|
+
'author_name' => 'Steve Klabnik',
|
646
|
+
'author_email' => 'steve@steveklabnik.com',
|
647
|
+
'committer_name' => 'Steve Klabnik',
|
648
|
+
'committer_email' => 'steve@steveklabnik.com',
|
649
|
+
'compare_url' =>
|
650
|
+
'https://github.com/rails/rails/compare/6581d798e830...a0265b98f16c' } }.to_json
|
649
651
|
end
|
650
652
|
|
651
653
|
get '/repos/' do
|
652
|
-
{
|
653
|
-
[{
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
654
|
+
{ 'repos' =>
|
655
|
+
[{ 'id' => 107_495,
|
656
|
+
'slug' => 'pypug/django-mango',
|
657
|
+
'description' => 'More Mango, less Django!',
|
658
|
+
'last_build_id' => 4_125_823,
|
659
|
+
'last_build_number' => '39',
|
660
|
+
'last_build_state' => 'failed',
|
661
|
+
'last_build_duration' => 31,
|
662
|
+
'last_build_language' => nil,
|
663
|
+
'last_build_started_at' => '2013-01-13T16:58:43Z',
|
664
|
+
'last_build_finished_at' => '2013-01-13T16:55:08Z' }] }.to_json
|
663
665
|
end
|
664
666
|
|
665
667
|
get '/config' do
|
666
|
-
{
|
668
|
+
{ 'config' => { 'host' => 'travis-ci.org' } }.to_json
|
667
669
|
end
|
668
670
|
|
669
671
|
get '/logs/3168318' do
|
670
|
-
{
|
671
|
-
{
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
"$ export GEM=railties\n"}}.to_json
|
672
|
+
{ 'log' =>
|
673
|
+
{ 'id' => 3_168_318,
|
674
|
+
'job_id' => 4_125_096,
|
675
|
+
'type' => 'Log',
|
676
|
+
'body' =>
|
677
|
+
"$ export GEM=railties\n" } }.to_json
|
676
678
|
end
|
677
679
|
|
678
680
|
get '/repos/*/travis.rb' do
|
679
|
-
#
|
681
|
+
# HACK: hack
|
680
682
|
request.path_info = '/repos/rails/rails'
|
681
683
|
pass
|
682
684
|
end
|
@@ -687,38 +689,36 @@ module Travis
|
|
687
689
|
end
|
688
690
|
|
689
691
|
get '/repos/rails/rails' do
|
690
|
-
{
|
691
|
-
{
|
692
|
-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
692
|
+
{ 'repo' =>
|
693
|
+
{ 'id' => 891,
|
694
|
+
'slug' => 'rails/rails',
|
695
|
+
'description' => settings.rails_description,
|
696
|
+
'last_build_id' => 4_125_095,
|
697
|
+
'last_build_number' => '6180',
|
698
|
+
'last_build_state' => 'failed',
|
699
|
+
'last_build_duration' => 5019,
|
700
|
+
'last_build_language' => nil,
|
701
|
+
'last_build_started_at' => '2013-01-13T15:55:17Z',
|
702
|
+
'last_build_finished_at' => nil,
|
703
|
+
'github_language' => 'Ruby' } }.to_json
|
702
704
|
end
|
703
705
|
|
704
706
|
get '/repos/891/key' do
|
705
|
-
{
|
707
|
+
{ 'key' => RAILS_KEY, 'fingerprint' => 'foobar' }.to_json
|
706
708
|
end
|
707
709
|
|
708
710
|
get '/accounts/' do
|
709
|
-
{
|
710
|
-
[{'name' =>
|
711
|
-
|
712
|
-
|
713
|
-
|
714
|
-
}]}.to_json
|
711
|
+
{ 'accounts' =>
|
712
|
+
[{ 'name' => 'Konstantin Haase',
|
713
|
+
'login' => 'rkh',
|
714
|
+
'type' => 'user',
|
715
|
+
'repos_count' => 200 }] }.to_json
|
715
716
|
end
|
716
717
|
|
717
718
|
get '/broadcasts/' do
|
718
|
-
{
|
719
|
-
[{'id' => 1,
|
720
|
-
|
721
|
-
}]}.to_json
|
719
|
+
{ 'broadcasts' =>
|
720
|
+
[{ 'id' => 1,
|
721
|
+
'message' => 'Hello!' }] }.to_json
|
722
722
|
end
|
723
723
|
|
724
724
|
#### for encrypt_file spec
|
@@ -726,18 +726,18 @@ module Travis
|
|
726
726
|
# p params
|
727
727
|
$params = params
|
728
728
|
{
|
729
|
-
"env_vars":[
|
729
|
+
"env_vars": [
|
730
730
|
{
|
731
|
-
"id":
|
732
|
-
"name":
|
733
|
-
"value":
|
731
|
+
"id": '8aa1c74d-dcc4-4e41-9087-1326b7c68abd',
|
732
|
+
"name": 'encrypted_randomhex_key',
|
733
|
+
"value": 'super_secret_key',
|
734
734
|
"public": false,
|
735
735
|
"repository_id": 891
|
736
736
|
},
|
737
737
|
{
|
738
|
-
"id":
|
739
|
-
"name":
|
740
|
-
"value":
|
738
|
+
"id": 'b2ed30b9-622d-4bd7-928b-ba5aad7ba6a1',
|
739
|
+
"name": 'encrypted_randomhex_iv',
|
740
|
+
"value": 'super_secret_iv',
|
741
741
|
"public": false,
|
742
742
|
"repository_id": 891
|
743
743
|
}
|
@@ -749,9 +749,9 @@ module Travis
|
|
749
749
|
$params = params
|
750
750
|
{
|
751
751
|
"env_var": {
|
752
|
-
"id":
|
753
|
-
"name":
|
754
|
-
"value":
|
752
|
+
"id": '8aa1c74d-dcc4-4e41-9087-1326b7c68abd',
|
753
|
+
"name": 'encrypted_randomhex_key',
|
754
|
+
"value": 'new_super_secret_key',
|
755
755
|
"public": false,
|
756
756
|
"repository_id": 891
|
757
757
|
}
|
@@ -762,9 +762,9 @@ module Travis
|
|
762
762
|
$params = params
|
763
763
|
{
|
764
764
|
"env_var": {
|
765
|
-
"id":
|
766
|
-
"name":
|
767
|
-
"value":
|
765
|
+
"id": 'b2ed30b9-622d-4bd7-928b-ba5aad7ba6a1',
|
766
|
+
"name": 'encrypted_randomhex_iv',
|
767
|
+
"value": 'new_super_secret_iv',
|
768
768
|
"public": false,
|
769
769
|
"repository_id": 891
|
770
770
|
}
|