try to find python3 on macOS

This commit is contained in:
Ralf Jung 2018-10-30 15:07:40 +01:00
parent f6b1f9e487
commit 8fe51ca669
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
'''
Test whether cargo-miri works properly.
Assumes the `MIRI_SYSROOT` env var to be set appropriately,