Reenable iOS tests, default hardware/iOS version only for now

Use of the -destination argument to either xcodebuild or xctool
fails on Travis.

Refs #1452
This commit is contained in:
John Firebaugh
2015-05-29 15:17:20 -07:00
parent 714b68f7b3
commit 69cf6ed3d2
2 changed files with 4 additions and 9 deletions

View File

@@ -28,5 +28,5 @@ if [[ ${PUBLISH_PLATFORM} = 'ios' ]]; then
else
# build & test iOS
mapbox_time "run_ios_tests" \
make ipackage-sim
make itest
fi

View File

@@ -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