Skip to content

Commit 247c3ff

Browse files
committed
Auto merge of #55573 - kennytm:macos-aws, r=<try>
[WIP] Make sure the `aws` executable in in $PATH on macOS
2 parents c613d26 + f3592a9 commit 247c3ff

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.travis.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ matrix:
1717
include:
1818
# Images used in testing PR and try-build should be run first.
1919
- env: IMAGE=x86_64-gnu-llvm-5.0 RUST_BACKTRACE=1
20-
if: type = pull_request OR branch = auto
20+
if: type = pull_request AND branch = auto
2121

2222
- env: IMAGE=dist-x86_64-linux DEPLOY=1
23-
if: branch = try OR branch = auto
23+
if: branch = try AND branch = auto
2424

2525
# "alternate" deployments, these are "nightlies" but have LLVM assertions
2626
# turned on, they're deployed to a different location primarily for
2727
# additional testing.
2828
- env: IMAGE=dist-x86_64-linux DEPLOY_ALT=1 CI_JOB_NAME=dist-x86_64-linux-alt
29-
if: branch = try OR branch = auto
29+
if: branch = try AND branch = auto
3030

3131
- env: >
3232
RUST_CHECK_TARGET=dist
@@ -40,7 +40,7 @@ matrix:
4040
CI_JOB_NAME=dist-x86_64-apple-alt
4141
os: osx
4242
osx_image: xcode9.3-moar
43-
if: branch = auto
43+
if: branch = auto OR branch = try
4444
4545
# macOS builders. These are placed near the beginning because they are very
4646
# slow to run.
@@ -200,7 +200,7 @@ matrix:
200200
before_install:
201201
# We'll use the AWS cli to download/upload cached docker layers as well as
202202
# push our deployments, so download that here.
203-
- pip install --user awscli; export PATH=$PATH:$HOME/.local/bin
203+
- pip install --user awscli; export PATH=$PATH:$HOME/.local/bin:$HOME/Library/Python/2.7/bin/
204204
- mkdir -p $HOME/rustsrc
205205
# FIXME(#46924): these two commands are required to enable IPv6,
206206
# they shouldn't exist, please revert once more official solutions appeared.
@@ -254,7 +254,8 @@ before_script:
254254
script:
255255
- >
256256
date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
257-
- stamp sh -x -c "$RUN_SCRIPT"
257+
#- stamp sh -x -c "$RUN_SCRIPT"
258+
- mkdir -p build/dist && touch build/dist/test-only
258259
- >
259260
date && (curl -fs --head https://google.com | grep ^Date: | sed 's/Date: //g' || true)
260261

0 commit comments

Comments
 (0)