Skip to content

Commit 69cf6ed

Browse files
committed
Reenable iOS tests, default hardware/iOS version only for now
Use of the -destination argument to either xcodebuild or xctool fails on Travis. Refs mapbox#1452
1 parent 714b68f commit 69cf6ed

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

scripts/ios/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ if [[ ${PUBLISH_PLATFORM} = 'ios' ]]; then
2828
else
2929
# build & test iOS
3030
mapbox_time "run_ios_tests" \
31-
make ipackage-sim
31+
make itest
3232
fi

scripts/ios/test.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,8 @@ set -e
44
set -o pipefail
55
set -u
66

7-
xcodebuild \
7+
xctool \
88
-project ./test/ios/ios-tests.xcodeproj \
99
-scheme 'Mapbox GL Tests' \
10-
-sdk iphonesimulator \
11-
-destination 'platform=iOS Simulator,name=iPhone 5s,OS=7.1' \
12-
-destination 'platform=iOS Simulator,name=iPhone 5s,OS=latest' \
13-
-destination 'platform=iOS Simulator,name=iPad 2,OS=7.1' \
14-
-destination 'platform=iOS Simulator,name=iPad 2,OS=latest' \
15-
test \
16-
| xcpretty
10+
-sdk iphonesimulator8.3 \
11+
test

0 commit comments

Comments
 (0)