diff options
Diffstat (limited to 'platform/ios/scripts/test.sh')
-rwxr-xr-x | platform/ios/scripts/test.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/platform/ios/scripts/test.sh b/platform/ios/scripts/test.sh new file mode 100755 index 0000000000..60ccc76a9e --- /dev/null +++ b/platform/ios/scripts/test.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash + +set -e +set -o pipefail +set -u + +xcodebuild \ + -project ./test/ios/ios-tests.xcodeproj \ + -scheme 'Mapbox GL Tests' \ + -sdk iphonesimulator \ + -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' \ + -destination 'platform=iOS Simulator,name=iPad 2,OS=latest' \ + test \ + | xcpretty |