Skip to content

Commit e979589

Browse files
committed
no longer test 32bit macOS
1 parent f3c267d commit e979589

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" ]; 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)