Skip to content

Commit 6bc3a48

Browse files
committed
tweak travis.sh
1 parent fbad6c0 commit 6bc3a48

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

travis.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ else
1111
fi
1212

1313
echo "Build and install miri"
14-
cargo build --release --all-features --all-targets &&
14+
cargo build --release --all-features --all-targets
1515
cargo install --all-features --force --path .
1616
echo
1717

1818
echo "Get ourselves a MIR-full libstd for the host and a foreign architecture"
19-
cargo miri setup &&
19+
cargo miri setup
2020
cargo miri setup --target "$FOREIGN_TARGET"
2121
echo
2222

2323
echo "Test miri with full MIR, on the host and other architectures"
24-
MIRI_SYSROOT=$MIRI_SYSROOT_BASE/HOST cargo test --release --all-features &&
25-
MIRI_SYSROOT=$MIRI_SYSROOT_BASE MIRI_TARGET=$FOREIGN_TARGET cargo test --release --all-features
24+
MIRI_SYSROOT="$MIRI_SYSROOT_BASE"/HOST cargo test --release --all-features
25+
MIRI_SYSROOT="$MIRI_SYSROOT_BASE" MIRI_TARGET="$FOREIGN_TARGET" cargo test --release --all-features
2626
echo
2727

2828
echo "Test cargo integration"
29-
(cd test-cargo-miri && MIRI_SYSROOT=$MIRI_SYSROOT_BASE/HOST ./run-test.py)
29+
(cd test-cargo-miri && MIRI_SYSROOT="$MIRI_SYSROOT_BASE"/HOST ./run-test.py)
3030
echo

0 commit comments

Comments
 (0)