diff options
Diffstat (limited to 'scripts/test_ios.sh')
-rwxr-xr-x | scripts/test_ios.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/test_ios.sh b/scripts/test_ios.sh new file mode 100755 index 0000000000..77d4d90ad3 --- /dev/null +++ b/scripts/test_ios.sh @@ -0,0 +1,16 @@ +#!/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 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 |