forked from tonyarnold/Differ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (32 loc) · 1.53 KB
/
.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
25
26
27
28
29
30
31
32
33
34
35
os: osx
osx_image: xcode10.2
language: swift
jobs:
include:
- stage: "Xcode"
name: "Run tests on macOS"
script: xcrun xcodebuild test -destination "platform=macOS" -project "Differ.xcodeproj" -scheme "Differ"
after_success: 'bash <(curl -s https://codecov.io/bash)'
-
name: "Run tests on iOS"
script: xcrun xcodebuild test -destination "platform=iOS Simulator,OS=12.2,name=iPhone X" -project "Differ.xcodeproj" -scheme "Differ"
after_success: 'bash <(curl -s https://codecov.io/bash)'
-
name: "Run tests on tvOS"
script: xcrun xcodebuild test -destination "platform=tvOS Simulator,OS=12.2,name=Apple TV 4K" -project "Differ.xcodeproj" -scheme "Differ"
after_success: 'bash <(curl -s https://codecov.io/bash)'
-
name: "Build for watchOS"
script: xcrun xcodebuild build -destination "platform=watchOS Simulator,OS=5.2,name=Apple Watch Series 4 - 44mm" -project "Differ.xcodeproj" -scheme "Differ"
-
name: "Build TableViewExample"
script: xcrun xcodebuild clean build -destination "platform=iOS Simulator,OS=12.2,name=iPhone X" -project "Examples/TableViewExample/TableViewExample.xcodeproj" -scheme "TableViewExample"
- stage: "Swift Package Manager"
name: "Run Tests"
script: swift test
- stage: "CocoaPods"
name: "Lint Podspec"
install:
- brew update
- gem install cocoapods --pre
script: pod lib lint