-
Notifications
You must be signed in to change notification settings - Fork 35
/
.travis.yml
18 lines (15 loc) · 971 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
osx_image: xcode10.2
language: swift
before_install:
- brew update
- if brew outdated | grep -qx carthage; then brew upgrade carthage; fi
- travis_wait 35 carthage bootstrap --platform iOS,Mac,tvOS
script:
- xcodebuild clean build -project When.xcodeproj -scheme "When-macOS" -sdk macosx | xcpretty
- xcodebuild test -project When.xcodeproj -scheme "When-macOS" -sdk macosx | xcpretty
- xcodebuild clean build -project When.xcodeproj -scheme "When-iOS" -sdk iphonesimulator | xcpretty
- xcodebuild test -project When.xcodeproj -scheme "When-iOS" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8,OS=12.2' | xcpretty
- xcodebuild clean build -project When.xcodeproj -scheme "When-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV,OS=12.2' | xcpretty
- xcodebuild test -project When.xcodeproj -scheme "When-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV,OS=12.2' | xcpretty && exit ${PIPESTATUS[0]}
notifications:
email: false