Skip to content

Commit 8fe51ca

Browse files
committed
try to find python3 on macOS
1 parent f6b1f9e commit 8fe51ca

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ os:
1111
- osx
1212

1313
before_script:
14-
# mac os weirdness (https://github.com/travis-ci/travis-ci/issues/6307)
15-
- rvm get stable
14+
# macOS weirdness (https://github.com/travis-ci/travis-ci/issues/6307)
15+
- if [[ "$TRAVIS_OS_NAME" == osx ]]; then rvm get stable; fi
1616
# Compute the rust version we use. We do not use "language: rust" to have more control here.
1717
- |
1818
if [ "$TRAVIS_EVENT_TYPE" = cron ]; then

cargo-miri-test/run-test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python3
1+
#!/usr/bin/env python3
22
'''
33
Test whether cargo-miri works properly.
44
Assumes the `MIRI_SYSROOT` env var to be set appropriately,

0 commit comments

Comments
 (0)