This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
82 lines (71 loc) · 1.84 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
language: objective-c
osx_image: xcode9
install:
- carthage bootstrap
deploy:
provider: releases
api_key: $GITHUB_ACCESS_TOKEN
file: "Iris.framework.zip"
skip_cleanup: true
on:
tags: true
condition: -e "$TRAVIS_BUILD_DIR/Iris.framework.zip"
matrix:
include:
# iOS 9.3
- script:
- >-
xcodebuild
build-for-testing test-without-building
-project Iris.xcodeproj
-scheme Iris-iOS
-sdk iphonesimulator
-destination "platform=iOS Simulator,name=iPhone 6s,OS=9.3"
-configuration Release
# iOS 10.3
- script:
- >-
xcodebuild
build-for-testing test-without-building
-project Iris.xcodeproj
-scheme Iris-iOS
-sdk iphonesimulator
-destination "platform=iOS Simulator,name=iPhone 7,OS=10.3"
-configuration Release
# tvOS 9.0
- script:
- >-
xcodebuild
build-for-testing test-without-building
-project Iris.xcodeproj
-scheme Iris-tvOS
-sdk appletvsimulator
-destination "platform=tvOS Simulator,name=Apple TV 1080p,OS=9.0"
-configuration Release
# tvOS 10.2
- script:
- >-
xcodebuild
build-for-testing test-without-building
-project Iris.xcodeproj
-scheme Iris-tvOS
-sdk appletvsimulator
-destination "platform=tvOS Simulator,name=Apple TV 1080p,OS=10.2"
-configuration Release
# macOS
- script:
- >-
xcodebuild
build test
-project Iris.xcodeproj
-scheme Iris-macOS
-sdk macosx
-destination "arch=x86_64"
-configuration Release
# Carthage
- script:
- carthage build --no-skip-current
- if [[ -n "$TRAVIS_TAG" ]]; then carthage archive Iris; fi
# CocoaPods
- script:
- pod lib lint