Skip to content

Commit

Permalink
Merge pull request #76 from JohnSundell/xcpretty
Browse files Browse the repository at this point in the history
CI: Use xcpretty to format xcodebuild output
  • Loading branch information
JohnSundell authored Nov 12, 2017
2 parents 778acb9 + 82c5149 commit 39b55a0
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ source 'https://rubygems.org'

gem 'danger'
gem 'danger-swiftlint'
gem 'xcpretty'
24 changes: 20 additions & 4 deletions buddybuild_postbuild.sh
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

0 comments on commit 39b55a0

Please sign in to comment.