Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
Reenable iOS tests, default hardware/iOS version only for now
Browse files Browse the repository at this point in the history
Use of the -destination argument to either xcodebuild or xctool
fails on Travis.

Refs #1452
  • Loading branch information
jfirebaugh committed Jun 15, 2015
1 parent 714b68f commit 69cf6ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scripts/ios/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ if [[ ${PUBLISH_PLATFORM} = 'ios' ]]; then
else
# build & test iOS
mapbox_time "run_ios_tests" \
make ipackage-sim
make itest
fi
11 changes: 3 additions & 8 deletions scripts/ios/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,8 @@ set -e
set -o pipefail
set -u

xcodebuild \
xctool \
-project ./test/ios/ios-tests.xcodeproj \
-scheme 'Mapbox GL Tests' \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 5s,OS=7.1' \
-destination 'platform=iOS Simulator,name=iPhone 5s,OS=latest' \
-destination 'platform=iOS Simulator,name=iPad 2,OS=7.1' \
-destination 'platform=iOS Simulator,name=iPad 2,OS=latest' \
test \
| xcpretty
-sdk iphonesimulator8.3 \
test

0 comments on commit 69cf6ed

Please sign in to comment.