forked from vadymmarkov/When
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
18 lines (15 loc) · 976 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
osx_image: xcode9
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-Mac" -sdk macosx | xcpretty
- xcodebuild test -project When.xcodeproj -scheme "When-Mac" -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 6,OS=10.0' | xcpretty
- xcodebuild clean build -project When.xcodeproj -scheme "When-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=10.0' | xcpretty
- xcodebuild test -project When.xcodeproj -scheme "When-tvOS" -destination 'platform=tvOS Simulator,name=Apple TV 1080p,OS=10.0' | xcpretty && exit ${PIPESTATUS[0]}
notifications:
email: false