2015-03-24 06:41:51 +08:00
|
|
|
language: objective-c
|
2016-09-14 16:44:06 +08:00
|
|
|
osx_image: xcode8
|
|
|
|
|
2015-03-24 06:41:51 +08:00
|
|
|
env:
|
2016-09-14 16:44:06 +08:00
|
|
|
- ACTION=test PLATFORM=Mac DESTINATION='platform=OS X'
|
|
|
|
- ACTION=test PLATFORM=iOS DESTINATION='platform=iOS Simulator,name=iPhone 6S'
|
|
|
|
- ACTION=test PLATFORM=tvOS DESTINATION='platform=tvOS Simulator,name=Apple TV 1080p'
|
|
|
|
|
2015-03-24 06:41:51 +08:00
|
|
|
script:
|
2016-09-14 16:44:06 +08:00
|
|
|
- set -o pipefail && xcodebuild -scheme SnapKit -destination "$DESTINATION" $ACTION | xcpretty
|