Skip to content

Commit

Permalink
Added macOS & tvOS xcodebuild tests
Browse files Browse the repository at this point in the history
  • Loading branch information
freak4pc committed Jul 10, 2017
1 parent 073e9be commit 59cea79
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Demo/buddybuild_postbuild.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

set -e

## Run macOS Tests
echo "\033[0;32mRunning macOS Tests\033[0m"
xcodebuild -workspace 'Demo.xcworkspace' -scheme 'RxViewModelTests-macOS' -configuration 'Debug' -sdk macosx -destination arch='x86_64' test | xcpretty -c --test

## Run tvOS Tests
echo "\033[0;32mRunning tvOS Tests\033[0m"
xcodebuild -workspace 'Demo.xcworkspace' -scheme 'RxViewModelTests-tvOS' -configuration 'Debug' -sdk appletvsimulator10.2 -destination name='Apple TV 1080p' test | xcpretty -c --test

0 comments on commit 59cea79

Please sign in to comment.