-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
65 lines (62 loc) · 2.6 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: swift
install: swift package generate-xcodeproj --xcconfig-overrides conf.xcconfig
jobs:
include:
# macOS
- name: macOS 10.14
osx_image: xcode10.2
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=macOS
before_install: echo "MACOSX_DEPLOYMENT_TARGET = 10.14" >> conf.xcconfig
- name: macOS 10.15
osx_image: xcode11.4
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=macOS
before_install: echo "MACOSX_DEPLOYMENT_TARGET = 10.14" >> conf.xcconfig
- name: macOS 11.0
osx_image: xcode12.2
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=macOS
before_install: echo "MACOSX_DEPLOYMENT_TARGET = 10.14" >> conf.xcconfig
# iOS
- name: iOS 10.3.1
osx_image: xcode11.1
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=iOS Simulator,OS=10.3.1,name=iPhone 7
before_install: echo "IPHONEOS_DEPLOYMENT_TARGET = 10.0" >> conf.xcconfig
- name: iOS 11.0.1
osx_image: xcode11.1
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=iOS Simulator,OS=11.0.1,name=iPhone 8
before_install: echo "IPHONEOS_DEPLOYMENT_TARGET = 10.0" >> conf.xcconfig
- name: iOS 12.0
osx_image: xcode11.1
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=iOS Simulator,OS=12.0,name=iPhone 8
before_install: echo "IPHONEOS_DEPLOYMENT_TARGET = 10.0" >> conf.xcconfig
- name: iOS 13.1
osx_image: xcode11.1
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=iOS Simulator,OS=13.1,name=iPhone 8
before_install: echo "IPHONEOS_DEPLOYMENT_TARGET = 10.0" >> conf.xcconfig
- name: iOS 14.0.1
osx_image: xcode12.2
xcode_project: Robin.xcodeproj
xcode_scheme: Robin-Package
xcode_destination: platform=iOS Simulator,OS=14.0.1,name=iPhone 8
before_install: echo "IPHONEOS_DEPLOYMENT_TARGET = 10.0" >> conf.xcconfig
# watchOS
- name: watchOS 6.0
osx_image: xcode11.1
before_install: echo "WATCHOS_DEPLOYMENT_TARGET = 3.0" >> conf.xcconfig
script: set -o pipefail && xcodebuild -project Robin.xcodeproj -scheme Robin-Package -destination platform\=watchOS\ Simulator,OS\=6.0,name\=Apple\ Watch\ Series\ 4\ -\ 40mm build | xcpretty