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