Skip to content

Commit 71a7b9b

Browse files
committed
Auto merge of #1140 - RalfJung:no-macos, r=oli-obk
no longer test 32bit macOS According to https://blog.rust-lang.org/2020/01/03/reducing-support-for-32-bit-apple-targets.html, these are tier 3 targets now, and might not be available on nightly much longer. So let's stop testing them.
2 parents 4e44aa0 + 6a61470 commit 71a7b9b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

travis.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
set -euo pipefail
33

44
# Determine configuration
5-
if [ "$TRAVIS_OS_NAME" == osx ]; then
6-
FOREIGN_TARGET=i686-apple-darwin
7-
else
5+
if [ "$TRAVIS_OS_NAME" == linux ]; then
86
FOREIGN_TARGET=i686-unknown-linux-gnu
97
fi
108
export CARGO_EXTRA_FLAGS="--all-features"
@@ -28,6 +26,8 @@ echo "Test host architecture"
2826
run_tests
2927
echo
3028

31-
echo "Test foreign architecture ($FOREIGN_TARGET)"
32-
MIRI_TEST_TARGET="$FOREIGN_TARGET" run_tests
33-
echo
29+
if [ -n "${FOREIGN_TARGET+exists}" ]; then
30+
echo "Test foreign architecture ($FOREIGN_TARGET)"
31+
MIRI_TEST_TARGET="$FOREIGN_TARGET" run_tests
32+
echo
33+
fi

0 commit comments

Comments
 (0)