12
12
depth : 2
13
13
submodules : false
14
14
15
+ env :
16
+ global :
17
+ - CI_JOB_NAME=$TRAVIS_JOB_NAME
18
+
15
19
matrix :
16
20
fast_finish : true
17
21
include :
18
22
# Images used in testing PR and try-build should be run first.
19
23
- env : IMAGE=x86_64-gnu-llvm-6.0 RUST_BACKTRACE=1
24
+ name : x86_64-gnu-llvm-6.0
20
25
if : type = pull_request OR branch = auto
21
26
22
27
- env : IMAGE=dist-x86_64-linux DEPLOY=1
28
+ name : dist-x86_64-linux
23
29
if : branch = try OR branch = auto
24
30
25
31
# "alternate" deployments, these are "nightlies" but have LLVM assertions
26
32
# turned on, they're deployed to a different location primarily for
27
33
# additional testing.
28
- - env : IMAGE=dist-x86_64-linux DEPLOY_ALT=1 CI_JOB_NAME=dist-x86_64-linux-alt
34
+ - env : IMAGE=dist-x86_64-linux DEPLOY_ALT=1
35
+ name : dist-x86_64-linux-alt
29
36
if : branch = try OR branch = auto
30
37
31
38
- env : >
@@ -37,9 +44,9 @@ matrix:
37
44
MACOSX_DEPLOYMENT_TARGET=10.7
38
45
NO_LLVM_ASSERTIONS=1
39
46
NO_DEBUG_ASSERTIONS=1
40
- CI_JOB_NAME=dist-x86_64-apple-alt
41
47
os: osx
42
48
osx_image: xcode9.3-moar
49
+ name: dist-x86_64-apple-alt
43
50
if: branch = auto
44
51
45
52
# macOS builders. These are placed near the beginning because they are very
@@ -60,9 +67,9 @@ matrix:
60
67
MACOSX_STD_DEPLOYMENT_TARGET=10.7
61
68
NO_LLVM_ASSERTIONS=1
62
69
NO_DEBUG_ASSERTIONS=1
63
- CI_JOB_NAME=x86_64-apple
64
70
os: osx
65
71
osx_image: xcode9.3-moar
72
+ name: x86_64-apple
66
73
if: branch = auto
67
74
68
75
- env : >
@@ -74,9 +81,9 @@ matrix:
74
81
MACOSX_STD_DEPLOYMENT_TARGET=10.7
75
82
NO_LLVM_ASSERTIONS=1
76
83
NO_DEBUG_ASSERTIONS=1
77
- CI_JOB_NAME=i686-apple
78
84
os: osx
79
85
osx_image: xcode9.3-moar
86
+ name: i686-apple
80
87
if: branch = auto
81
88
82
89
# OSX builders producing releases. These do not run the full test suite and
@@ -95,9 +102,9 @@ matrix:
95
102
NO_LLVM_ASSERTIONS=1
96
103
NO_DEBUG_ASSERTIONS=1
97
104
DIST_REQUIRE_ALL_TOOLS=1
98
- CI_JOB_NAME=dist-i686-apple
99
105
os: osx
100
106
osx_image: xcode9.3-moar
107
+ name: dist-i686-apple
101
108
if: branch = auto
102
109
103
110
- env : >
@@ -110,81 +117,116 @@ matrix:
110
117
NO_LLVM_ASSERTIONS=1
111
118
NO_DEBUG_ASSERTIONS=1
112
119
DIST_REQUIRE_ALL_TOOLS=1
113
- CI_JOB_NAME=dist-x86_64-apple
114
120
os: osx
115
121
osx_image: xcode9.3-moar
122
+ name: dist-x86_64-apple
116
123
if: branch = auto
117
124
118
125
# Linux builders, remaining docker images
119
126
- env : IMAGE=arm-android
127
+ name : arm-android
120
128
if : branch = auto
121
129
- env : IMAGE=armhf-gnu
130
+ name : armhf-gnu
122
131
if : branch = auto
123
132
- env : IMAGE=dist-various-1 DEPLOY=1
133
+ name : dist-various-1
124
134
if : branch = auto
125
135
- env : IMAGE=dist-various-2 DEPLOY=1
136
+ name : dist-various-2
126
137
if : branch = auto
127
138
- env : IMAGE=dist-aarch64-linux DEPLOY=1
139
+ name : dist-aarch64-linux
128
140
if : branch = auto
129
141
- env : IMAGE=dist-android DEPLOY=1
142
+ name : dist-android
130
143
if : branch = auto
131
144
- env : IMAGE=dist-arm-linux DEPLOY=1
145
+ name : dist-arm-linux
132
146
if : branch = auto
133
147
- env : IMAGE=dist-armhf-linux DEPLOY=1
148
+ name : dist-armhf-linux
134
149
if : branch = auto
135
150
- env : IMAGE=dist-armv7-linux DEPLOY=1
151
+ name : dist-armv7-linux
136
152
if : branch = auto
137
153
- env : IMAGE=dist-i586-gnu-i586-i686-musl DEPLOY=1
154
+ name : dist-i586-gnu-i586-i686-musl
138
155
if : branch = auto
139
156
- env : IMAGE=dist-i686-freebsd DEPLOY=1
157
+ name : dist-i686-freebsd
140
158
if : branch = auto
141
159
- env : IMAGE=dist-i686-linux DEPLOY=1
160
+ name : dist-i686-linux
142
161
if : branch = auto
143
162
- env : IMAGE=dist-mips-linux DEPLOY=1
163
+ name : dist-mips-linux
144
164
if : branch = auto
145
165
- env : IMAGE=dist-mips64-linux DEPLOY=1
166
+ name : dist-mips64-linux
146
167
if : branch = auto
147
168
- env : IMAGE=dist-mips64el-linux DEPLOY=1
169
+ name : dist-mips64el-linux
148
170
if : branch = auto
149
171
- env : IMAGE=dist-mipsel-linux DEPLOY=1
172
+ name : dist-mipsel-linux
150
173
if : branch = auto
151
174
- env : IMAGE=dist-powerpc-linux DEPLOY=1
175
+ name : dist-powerpc-linux
152
176
if : branch = auto
153
177
- env : IMAGE=dist-powerpc64-linux DEPLOY=1
178
+ name : dist-powerpc64-linux
154
179
if : branch = auto
155
180
- env : IMAGE=dist-powerpc64le-linux DEPLOY=1
181
+ name : dist-powerpc64le-linux
156
182
if : branch = auto
157
183
- env : IMAGE=dist-s390x-linux DEPLOY=1
184
+ name : dist-s390x-linux
158
185
if : branch = auto
159
186
- env : IMAGE=dist-x86_64-freebsd DEPLOY=1
187
+ name : dist-x86_64-freebsd
160
188
if : branch = auto
161
189
- env : IMAGE=dist-x86_64-musl DEPLOY=1
190
+ name : dist-x86_64-musl
162
191
if : branch = auto
163
192
- env : IMAGE=dist-x86_64-netbsd DEPLOY=1
193
+ name : dist-x86_64-netbsd
164
194
if : branch = auto
165
195
- env : IMAGE=asmjs
196
+ name : asmjs
166
197
if : branch = auto
167
198
- env : IMAGE=i686-gnu
199
+ name : i686-gnu
168
200
if : branch = auto
169
201
- env : IMAGE=i686-gnu-nopt
202
+ name : i686-gnu-nopt
170
203
if : branch = auto
171
204
- env : IMAGE=test-various
205
+ name : test-various
172
206
if : branch = auto
173
207
- env : IMAGE=x86_64-gnu
208
+ name : x86_64-gnu
174
209
if : branch = auto
175
210
- env : IMAGE=x86_64-gnu-full-bootstrap
211
+ name : x86_64-gnu-full-bootstrap
176
212
if : branch = auto
177
213
- env : IMAGE=x86_64-gnu-aux
214
+ name : x86_64-gnu-aux
178
215
if : branch = auto
179
216
- env : IMAGE=x86_64-gnu-tools
217
+ name : x86_64-gnu-tools
180
218
if : branch = auto OR (type = pull_request AND commit_message =~ /(?i:^update.*\b(rls|rustfmt|clippy|miri|cargo)\b)/)
181
219
- env : IMAGE=x86_64-gnu-debug
220
+ name : x86_64-gnu-debug
182
221
if : branch = auto
183
222
- env : IMAGE=x86_64-gnu-nopt
223
+ name : x86_64-gnu-nopt
184
224
if : branch = auto
185
225
- env : IMAGE=x86_64-gnu-distcheck
226
+ name : x86_64-gnu-distcheck
186
227
if : branch = auto
187
228
- env : IMAGE=mingw-check
229
+ name : mingw-check
188
230
if : type = pull_request OR branch = auto
189
231
190
232
- stage : publish toolstate
0 commit comments