Files
Argo/bin/test
Gordon Fontenot dce33c1197 Improve bin/test
Previously we were _only_ running tests on CI against the mac target.
This seems short sighted. Instead, lets make sure we can build for all
of our supported platforms, running the tests on the platforms that
support it.
2016-01-05 17:04:30 -07:00

32 lines
661 B
Bash
Executable File

#!/usr/bin/env sh
set -o pipefail
xcrun xcodebuild \
-workspace Argo.xcworkspace \
-scheme Argo-Mac \
test \
| xcpretty --color
xcrun xcodebuild \
-workspace Argo.xcworkspace \
-scheme Argo-iOS \
-destination "platform=iOS Simulator,name=iPhone 6" \
test \
| xcpretty --color
xcrun xcodebuild \
-workspace Argo.xcworkspace \
-scheme Argo-watchOS \
-destination "generic/platform=watchOS" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_IDENTITY="" \
| xcpretty --color
xcrun xcodebuild \
-workspace Argo.xcworkspace \
-scheme Argo-tvOS \
-destination "platform=tvOS Simulator,name=Apple TV 1080p" \
test \
| xcpretty --color