-
Notifications
You must be signed in to change notification settings - Fork 16
/
runtests.sh
executable file
·8 lines (6 loc) · 1.08 KB
/
runtests.sh
1
2
3
4
5
6
7
8
#!/bin/bash
set -e # exit when any command fails
set -o pipefail && xcodebuild build -project 'Source/ViewControllerPresentationSpy.xcodeproj' -scheme 'ViewControllerPresentationSpy-tvOS' -sdk 'appletvsimulator' -destination 'platform=tvOS Simulator,OS=latest,name=Apple TV' | xcbeautify
set -o pipefail && xcodebuild test -project 'ObjCSample/ObjCSampleViewControllerPresentationSpy.xcodeproj' -scheme 'ObjCSampleViewControllerPresentationSpy' -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,OS=latest,name=iPhone 8' | xcbeautify
set -o pipefail && xcodebuild test -project 'SwiftSample/SwiftSampleViewControllerPresentationSpy.xcodeproj' -scheme 'SwiftSampleViewControllerPresentationSpy' -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,OS=latest,name=iPad Air (4th generation)' | xcbeautify
set -o pipefail && xcodebuild test -project 'SwiftSamplePackage/SwiftSampleViewControllerPresentationSpy.xcodeproj' -scheme 'SwiftSampleViewControllerPresentationSpy' -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,OS=latest,name=iPad Air (4th generation)' | xcbeautify