-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy path.travis.yml
342 lines (313 loc) · 15.3 KB
/
.travis.yml
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
46
47
48
49
50
51
52
53
54
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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
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
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
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
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
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
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
os: linux
services: docker
language: shell
jobs:
include:
- before_script:
- cd ada
script:
- docker build -t ada --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm ada
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag ada $DOCKER_USERNAME/ada:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/ada:$TRAVIS_BUILD_NUMBER
- docker tag ada $DOCKER_USERNAME/ada:latest
- docker push $DOCKER_USERNAME/ada:latest
- before_script:
- cd bash
script:
- docker build -t bash --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm bash
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag bash $DOCKER_USERNAME/bash:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/bash:$TRAVIS_BUILD_NUMBER
- docker tag bash $DOCKER_USERNAME/bash:latest
- docker push $DOCKER_USERNAME/bash:latest
- before_script:
- cd c
script:
- docker build -t c-build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm c-build
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag c-build $DOCKER_USERNAME/c-build:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/c-build:$TRAVIS_BUILD_NUMBER
- docker tag c-build $DOCKER_USERNAME/c-build:latest
- docker push $DOCKER_USERNAME/c-build:latest
- before_script:
- cd common-lisp
script:
- docker build -t clisp --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm clisp
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag clisp $DOCKER_USERNAME/clisp:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/clisp:$TRAVIS_BUILD_NUMBER
- docker tag clisp $DOCKER_USERNAME/clisp:latest
- docker push $DOCKER_USERNAME/clisp:latest
- before_script:
- cd cpp
script:
- docker build -t cpp --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm cpp
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag cpp $DOCKER_USERNAME/cpp:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/cpp:$TRAVIS_BUILD_NUMBER
- docker tag cpp $DOCKER_USERNAME/cpp:latest
- docker push $DOCKER_USERNAME/cpp:latest
- before_script:
- cd dart
script:
- docker build -t dart --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm dart
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag dart $DOCKER_USERNAME/dart:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/dart:$TRAVIS_BUILD_NUMBER
- docker tag dart $DOCKER_USERNAME/dart:latest
- docker push $DOCKER_USERNAME/dart:latest
- before_script:
- cd elixir
script:
- docker build -t elixir --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm elixir
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag elixir $DOCKER_USERNAME/elixir:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/elixir:$TRAVIS_BUILD_NUMBER
- docker tag elixir $DOCKER_USERNAME/elixir:latest
- docker push $DOCKER_USERNAME/elixir:latest
- before_script:
- cd erlang
script:
- docker build -t erlang --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm erlang
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag erlang $DOCKER_USERNAME/erlang:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/erlang:$TRAVIS_BUILD_NUMBER
- docker tag erlang $DOCKER_USERNAME/erlang:latest
- docker push $DOCKER_USERNAME/erlang:latest
- before_script:
- cd fortran
script:
- docker build -t fortran --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm fortran
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag fortran $DOCKER_USERNAME/fortran:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/fortran:$TRAVIS_BUILD_NUMBER
- docker tag fortran $DOCKER_USERNAME/fortran:latest
- docker push $DOCKER_USERNAME/fortran:latest
- before_script:
- cd go
script:
- docker build -t go-build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm go-build
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag go-build $DOCKER_USERNAME/go-build:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/go-build:$TRAVIS_BUILD_NUMBER
- docker tag go-build $DOCKER_USERNAME/go-build:latest
- docker push $DOCKER_USERNAME/go-build:latest
- before_script:
- cd haskell
script:
- docker build -t haskell --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm haskell
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag haskell $DOCKER_USERNAME/haskell:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/haskell:$TRAVIS_BUILD_NUMBER
- docker tag haskell $DOCKER_USERNAME/haskell:latest
- docker push $DOCKER_USERNAME/haskell:latest
- before_script:
- cd icon
script:
- docker build -t icon --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm icon
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag icon $DOCKER_USERNAME/icon:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/icon:$TRAVIS_BUILD_NUMBER
- docker tag icon $DOCKER_USERNAME/icon:latest
- docker push $DOCKER_USERNAME/icon:latest
- before_script:
- cd java
script:
- docker build -t java --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm java
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag java $DOCKER_USERNAME/java:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/java:$TRAVIS_BUILD_NUMBER
- docker tag java $DOCKER_USERNAME/java:latest
- docker push $DOCKER_USERNAME/java:latest
- before_script:
- cd javascript
script:
- docker build -t javascript --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm javascript
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag javascript $DOCKER_USERNAME/javascript:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/javascript:$TRAVIS_BUILD_NUMBER
- docker tag javascript $DOCKER_USERNAME/javascript:latest
- docker push $DOCKER_USERNAME/javascript:latest
- before_script:
- cd julia
script:
- docker build -t julia --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm julia
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag julia $DOCKER_USERNAME/julia:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/julia:$TRAVIS_BUILD_NUMBER
- docker tag julia $DOCKER_USERNAME/julia:latest
- docker push $DOCKER_USERNAME/julia:latest
- before_script:
- cd kotlin
script:
- docker build -t kotlin --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm kotlin
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag kotlin $DOCKER_USERNAME/kotlin:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/kotlin:$TRAVIS_BUILD_NUMBER
- docker tag kotlin $DOCKER_USERNAME/kotlin:latest
- docker push $DOCKER_USERNAME/kotlin:latest
- before_script:
- cd lisp
script:
- docker build -t lisp --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm lisp
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag lisp $DOCKER_USERNAME/lisp:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/lisp:$TRAVIS_BUILD_NUMBER
- docker tag lisp $DOCKER_USERNAME/lisp:latest
- docker push $DOCKER_USERNAME/lisp:latest
- before_script:
- cd lua
script:
- docker build -t lua --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm lua
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag lua $DOCKER_USERNAME/lua:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/lua:$TRAVIS_BUILD_NUMBER
- docker tag lua $DOCKER_USERNAME/lua:latest
- docker push $DOCKER_USERNAME/lua:latest
- before_script:
- cd node
script:
- docker build -t node --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm node
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag node $DOCKER_USERNAME/node:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/node:$TRAVIS_BUILD_NUMBER
- docker tag node $DOCKER_USERNAME/node:latest
- docker push $DOCKER_USERNAME/node:latest
- before_script:
- cd objective-c
script:
- docker build -t objc --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm objc
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag objc $DOCKER_USERNAME/objc:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/objc:$TRAVIS_BUILD_NUMBER
- docker tag objc $DOCKER_USERNAME/objc:latest
- docker push $DOCKER_USERNAME/objc:latest
- before_script:
- cd perl
script:
- docker build -t perl --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm perl
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag perl $DOCKER_USERNAME/perl:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/perl:$TRAVIS_BUILD_NUMBER
- docker tag perl $DOCKER_USERNAME/perl:latest
- docker push $DOCKER_USERNAME/perl:latest
- before_script:
- cd php
script:
- docker build -t php --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm php
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag php $DOCKER_USERNAME/php:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/php:$TRAVIS_BUILD_NUMBER
- docker tag php $DOCKER_USERNAME/php:latest
- docker push $DOCKER_USERNAME/php:latest
- before_script:
- cd python/worker
script:
- docker build -t python --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm python
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag python $DOCKER_USERNAME/python:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/python:$TRAVIS_BUILD_NUMBER
- docker tag python $DOCKER_USERNAME/python:latest
- docker push $DOCKER_USERNAME/python:latest
- before_script:
- cd python/web
script:
- docker build -t pythonweb --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm pythonweb
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag pythonweb $DOCKER_USERNAME/pythonweb:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/pythonweb:$TRAVIS_BUILD_NUMBER
- docker tag pythonweb $DOCKER_USERNAME/pythonweb:latest
- docker push $DOCKER_USERNAME/pythonweb:latest
- before_script:
- cd r
script:
- docker build -t r-build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm r-build
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag r-build $DOCKER_USERNAME/r-build:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/r-build:$TRAVIS_BUILD_NUMBER
- docker tag r-build $DOCKER_USERNAME/r-build:latest
- docker push $DOCKER_USERNAME/r-build:latest
- before_script:
- cd rust
script:
- docker build -t rust --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm rust
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag rust $DOCKER_USERNAME/rust:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/rust:$TRAVIS_BUILD_NUMBER
- docker tag rust $DOCKER_USERNAME/rust:latest
- docker push $DOCKER_USERNAME/rust:latest
- before_script:
- cd scala
script:
- docker build -t scala --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm scala
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag scala $DOCKER_USERNAME/scala:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/scala:$TRAVIS_BUILD_NUMBER
- docker tag scala $DOCKER_USERNAME/scala:latest
- docker push $DOCKER_USERNAME/scala:latest
- before_script:
- cd swift
script:
- docker build -t swift --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD` .
- docker run --rm swift
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- docker tag swift $DOCKER_USERNAME/swift:$TRAVIS_BUILD_NUMBER
- docker push $DOCKER_USERNAME/swift:$TRAVIS_BUILD_NUMBER
- docker tag swift $DOCKER_USERNAME/swift:latest
- docker push $DOCKER_USERNAME/swift:latest