Skip to content

Commit 2485afa

Browse files
Deploy builds both with asserts enabled and asserts disabled to CI.
This also removes uploads to the 'try' bucket, and instead dumps everything into the two rustc-builds and rustc-builds-alt buckets. This makes lives easier, as there is only one location for a given "type" of build, and since we have the git commit hash in the filenames, this is fine; we won't run into uploads of the same commit.
1 parent 77ab3a1 commit 2485afa

File tree

1 file changed

+23
-6
lines changed

1 file changed

+23
-6
lines changed

.travis.yml

+23-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ matrix:
1616
if: type = pull_request OR branch = auto
1717

1818
- env: IMAGE=dist-x86_64-linux DEPLOY=1
19-
if: branch = auto
19+
if: branch = try OR branch = auto
2020

2121
# "alternate" deployments, these are "nightlies" but don't have assertions
2222
# turned on, they're deployed to a different location primarily for projects
@@ -310,22 +310,39 @@ deploy:
310310
branch: auto
311311
condition: $DEPLOY = 1
312312

313+
# this is the same as the above deployment provider except that it uploads to
314+
# a slightly different directory and has a different trigger
313315
- provider: s3
314316
bucket: rust-lang-ci2
315317
skip_cleanup: true
316318
local_dir: deploy
317-
upload_dir: rustc-builds-try
319+
upload_dir: rustc-builds-alt
318320
acl: public_read
319321
region: us-west-1
320322
access_key_id: AKIAJVBODR3IA4O72THQ
321323
secret_access_key:
322324
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
323325
on:
324-
branch: try
326+
branch: auto
325327
condition: $DEPLOY_ALT = 1
326328

327-
# this is the same as the above deployment provider except that it uploads to
328-
# a slightly different directory and has a different trigger
329+
# These two providers are the same as the two above, except deploy on the
330+
# try branch. Travis does not appear to provide a way to use "or" in these
331+
# conditions.
332+
- provider: s3
333+
bucket: rust-lang-ci2
334+
skip_cleanup: true
335+
local_dir: deploy
336+
upload_dir: rustc-builds
337+
acl: public_read
338+
region: us-west-1
339+
access_key_id: AKIAJVBODR3IA4O72THQ
340+
secret_access_key:
341+
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
342+
on:
343+
branch: try
344+
condition: $DEPLOY = 1
345+
329346
- provider: s3
330347
bucket: rust-lang-ci2
331348
skip_cleanup: true
@@ -337,5 +354,5 @@ deploy:
337354
secret_access_key:
338355
secure: "kUGd3t7JcVWFESgIlzvsM8viZgCA9Encs3creW0xLJaLSeI1iVjlJK4h/2/nO6y224AFrh/GUfsNr4/4AlxPuYb8OU5oC5Lv+Ff2JiRDYtuNpyQSKAQp+bRYytWMtrmhja91h118Mbm90cUfcLPwkdiINgJNTXhPKg5Cqu3VYn0="
339356
on:
340-
branch: auto
357+
branch: try
341358
condition: $DEPLOY_ALT = 1

0 commit comments

Comments
 (0)