-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from JohnSundell/xcpretty
CI: Use xcpretty to format xcodebuild output
- Loading branch information
Showing
2 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ source 'https://rubygems.org' | |
|
||
gem 'danger' | ||
gem 'danger-swiftlint' | ||
gem 'xcpretty' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,26 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Run tests on macOS + tvOS | ||
xcodebuild clean test -project ImagineEngine.xcodeproj -scheme ImagineEngine-macOS -destination "platform=OS X" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | ||
xcodebuild clean test -project ImagineEngine.xcodeproj -scheme ImagineEngine-tvOS -destination "platform=tvOS Simulator,name=Apple TV 1080p" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | ||
# Run tests on macOS | ||
xcodebuild clean test \ | ||
-project ImagineEngine.xcodeproj \ | ||
-scheme ImagineEngine-macOS \ | ||
-destination "platform=OS X" \ | ||
CODE_SIGN_IDENTITY="" \ | ||
CODE_SIGNING_REQUIRED=NO \ | ||
ONLY_ACTIVE_ARCH=NO \ | ||
| xcpretty | ||
|
||
# Run danger | ||
# Run tests on tvOS | ||
xcodebuild clean test \ | ||
-project ImagineEngine.xcodeproj \ | ||
-scheme ImagineEngine-tvOS \ | ||
-destination "platform=tvOS Simulator,name=Apple TV" \ | ||
CODE_SIGN_IDENTITY="" \ | ||
CODE_SIGNING_REQUIRED=NO \ | ||
ONLY_ACTIVE_ARCH=NO \ | ||
| xcpretty | ||
|
||
# Run Danger | ||
chruby 2.3.1 | ||
bundle install | ||
bundle exec danger |