4 # Determine configuration
5 if [ "$TRAVIS_OS_NAME" == osx ]; then
6 FOREIGN_TARGET=i686-apple-darwin
8 FOREIGN_TARGET=i686-unknown-linux-gnu
12 echo "Build and install miri"
13 ./miri build --all-features --all-targets
20 # "miri test" has built the sysroot for us, now this should pass without
21 # any interactive questions.
22 test-cargo-miri/run-test.py
25 echo "Test host architecture"
29 echo "Test foreign architecture ($FOREIGN_TARGET)"
30 MIRI_TEST_TARGET="$FOREIGN_TARGET" run_tests