-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 931 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
matrix:
include:
- script:
- swiftlint lint --strict
- set -o pipefail
- xcodebuild $XCODE_ACTION $WORKSPACE -scheme "FyydKit-macOS" | xcpretty
- xcodebuild $XCODE_ACTION $WORKSPACE -scheme "FyydKit-iOS" -sdk iphonesimulator -destination "OS=11.0,name=iPhone 7" | xcpretty
- xcodebuild $XCODE_ACTION $WORKSPACE -scheme "FyydKit-tvOS" -sdk appletvsimulator -destination "OS=11.0,name=Apple TV 1080p" | xcpretty
- xcodebuild build $WORKSPACE -scheme "FyydKit-watchOS" -sdk watchsimulator | xcpretty
env:
- JOB=Xcode
- WORKSPACE="-workspace FyydKit.xcworkspace"
- XCODE_ACTION="build-for-testing test-without-building"
os: osx
osx_image: xcode9
language: objective-c
cache: cocoapods
- script:
- swift build
- swift test
env: JOB=SPM
os: osx
osx_image: xcode9
language: objective-c