@@ -12,18 +12,17 @@ matrix:
12
12
fast_finish : true
13
13
include :
14
14
# Images used in testing PR and try-build should be run first.
15
- - env : IMAGE=x86_64-gnu-llvm-3.7 RUST_BACKTRACE=1
15
+ - env : IMAGE=x86_64-gnu-llvm-3.9 RUST_BACKTRACE=1
16
16
if : type = pull_request OR branch = auto
17
17
18
18
- env : IMAGE=dist-x86_64-linux DEPLOY=1
19
19
if : branch = try OR branch = auto
20
20
21
- # "alternate" deployments, these are "nightlies" but don't have assertions
22
- # turned on, they're deployed to a different location primarily for projects
23
- # which are stuck on nightly and don't want llvm assertions in the artifacts
24
- # that they use.
21
+ # "alternate" deployments, these are "nightlies" but have LLVM assertions
22
+ # turned on, they're deployed to a different location primarily for
23
+ # additional testing.
25
24
- env : IMAGE=dist-x86_64-linux DEPLOY_ALT=1
26
- if : branch = auto
25
+ if : branch = try OR branch = auto
27
26
28
27
- env : >
29
28
RUST_CHECK_TARGET=dist
@@ -36,7 +35,7 @@ matrix:
36
35
NO_LLVM_ASSERTIONS=1
37
36
NO_DEBUG_ASSERTIONS=1
38
37
os: osx
39
- osx_image: xcode7
38
+ osx_image: xcode7.3
40
39
if: branch = auto
41
40
42
41
# macOS builders. These are placed near the beginning because they are very
@@ -57,7 +56,7 @@ matrix:
57
56
NO_LLVM_ASSERTIONS=1
58
57
NO_DEBUG_ASSERTIONS=1
59
58
os: osx
60
- osx_image: xcode8.2
59
+ osx_image: xcode8.3
61
60
if: branch = auto
62
61
63
62
- env : >
@@ -71,7 +70,7 @@ matrix:
71
70
NO_LLVM_ASSERTIONS=1
72
71
NO_DEBUG_ASSERTIONS=1
73
72
os: osx
74
- osx_image: xcode8.2
73
+ osx_image: xcode8.3
75
74
if: branch = auto
76
75
77
76
# OSX builders producing releases. These do not run the full test suite and
@@ -91,7 +90,7 @@ matrix:
91
90
NO_LLVM_ASSERTIONS=1
92
91
NO_DEBUG_ASSERTIONS=1
93
92
os: osx
94
- osx_image: xcode7
93
+ osx_image: xcode7.3
95
94
if: branch = auto
96
95
97
96
- env : >
@@ -105,15 +104,17 @@ matrix:
105
104
NO_LLVM_ASSERTIONS=1
106
105
NO_DEBUG_ASSERTIONS=1
107
106
os: osx
108
- osx_image: xcode7
107
+ osx_image: xcode7.3
109
108
if: branch = auto
110
109
111
110
# Linux builders, remaining docker images
112
111
- env : IMAGE=arm-android
113
112
if : branch = auto
114
113
- env : IMAGE=armhf-gnu
115
114
if : branch = auto
116
- - env : IMAGE=cross DEPLOY=1
115
+ - env : IMAGE=dist-various-1 DEPLOY=1
116
+ if : branch = auto
117
+ - env : IMAGE=dist-various-2 DEPLOY=1
117
118
if : branch = auto
118
119
- env : IMAGE=dist-aarch64-linux DEPLOY=1
119
120
if : branch = auto
@@ -125,8 +126,6 @@ matrix:
125
126
if : branch = auto
126
127
- env : IMAGE=dist-armv7-linux DEPLOY=1
127
128
if : branch = auto
128
- - env : IMAGE=dist-fuchsia DEPLOY=1
129
- if : branch = auto
130
129
- env : IMAGE=dist-i586-gnu-i686-musl DEPLOY=1
131
130
if : branch = auto
132
131
- env : IMAGE=dist-i686-freebsd DEPLOY=1
@@ -161,14 +160,16 @@ matrix:
161
160
if : branch = auto
162
161
- env : IMAGE=i686-gnu-nopt
163
162
if : branch = auto
164
- # - env: IMAGE=wasm32 issue 42646
165
- # if: branch = auto
163
+ - env : IMAGE=wasm32-unknown
164
+ if : branch = auto
166
165
- env : IMAGE=x86_64-gnu
167
166
if : branch = auto
168
167
- env : IMAGE=x86_64-gnu-full-bootstrap
169
168
if : branch = auto
170
169
- env : IMAGE=x86_64-gnu-aux
171
170
if : branch = auto
171
+ - env : IMAGE=x86_64-gnu-tools
172
+ if : branch = auto
172
173
- env : IMAGE=x86_64-gnu-debug
173
174
if : branch = auto
174
175
- env : IMAGE=x86_64-gnu-nopt
@@ -251,7 +252,14 @@ after_failure:
251
252
252
253
# Random attempt at debugging currently. Just poking around in here to see if
253
254
# anything shows up.
254
- - ls $HOME/Library/Logs/DiagnosticReports/
255
+ - ls -lat $HOME/Library/Logs/DiagnosticReports/
256
+ - find $HOME/Library/Logs/DiagnosticReports
257
+ -type f
258
+ -not -name '*.stage2-*.crash'
259
+ -not -name 'com.apple.CoreSimulator.CoreSimulatorService-*.crash'
260
+ -exec printf travis_fold":start:crashlog\n\033[31;1m%s\033[0m\n" {} \;
261
+ -exec head -750 {} \;
262
+ -exec echo travis_fold":"end:crashlog \;
255
263
256
264
# attempt to debug anything killed by the oom killer on linux, just to see if
257
265
# it happened
@@ -284,6 +292,7 @@ before_deploy:
284
292
rm -rf obj/build/dist/doc &&
285
293
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
286
294
fi
295
+ - travis_retry gem update --system
287
296
288
297
deploy :
289
298
- provider : s3
@@ -300,11 +309,30 @@ deploy:
300
309
branch : auto
301
310
condition : $DEPLOY = 1
302
311
312
+ # this is the same as the above deployment provider except that it uploads to
313
+ # a slightly different directory and has a different trigger
303
314
- provider : s3
304
315
bucket : rust-lang-ci2
305
316
skip_cleanup : true
306
317
local_dir : deploy
307
- upload_dir : rustc-builds-try
318
+ upload_dir : rustc-builds-alt
319
+ acl : public_read
320
+ region : us-west-1
321
+ access_key_id : AKIAJVBODR3IA4O72THQ
322
+ secret_access_key :
323
+ secure : " kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
324
+ on :
325
+ branch : auto
326
+ condition : $DEPLOY_ALT = 1
327
+
328
+ # These two providers are the same as the two above, except deploy on the
329
+ # try branch. Travis does not appear to provide a way to use "or" in these
330
+ # conditions.
331
+ - provider : s3
332
+ bucket : rust-lang-ci2
333
+ skip_cleanup : true
334
+ local_dir : deploy
335
+ upload_dir : rustc-builds
308
336
acl : public_read
309
337
region : us-west-1
310
338
access_key_id : AKIAJVBODR3IA4O72THQ
@@ -314,8 +342,6 @@ deploy:
314
342
branch : try
315
343
condition : $DEPLOY = 1
316
344
317
- # this is the same as the above deployment provider except that it uploads to
318
- # a slightly different directory and has a different trigger
319
345
- provider : s3
320
346
bucket : rust-lang-ci2
321
347
skip_cleanup : true
@@ -327,5 +353,5 @@ deploy:
327
353
secret_access_key :
328
354
secure : " kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
329
355
on :
330
- branch : auto
356
+ branch : try
331
357
condition : $DEPLOY_ALT = 1
0 commit comments