forked from ReactiveCocoa/ReactiveCocoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
77 lines (77 loc) · 2.62 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
language: objective-c
osx_image: xcode8.2
before_install: true
install: true
git:
submodules: false
branches:
only:
- master
before_script:
- git submodule update --init --recursive
script:
- script/build
xcode_workspace: ReactiveCocoa.xcworkspace
matrix:
include:
- xcode_scheme: ReactiveCocoa-macOS
env:
- XCODE_SDK=macosx
- XCODE_ACTION="build test"
- XCODE_DESTINATION="arch=x86_64"
- XCODE_PLAYGROUND_TARGET="x86_64-apple-macosx10.10"
- PLAYGROUND="ReactiveCocoa-macOS.playground"
- xcode_scheme: ReactiveCocoa-iOS
env:
- XCODE_SDK=iphonesimulator
- XCODE_ACTION="build-for-testing test-without-building"
- XCODE_DESTINATION="platform=iOS Simulator,id=31E6604A-19AA-4B68-B560-C33C584BC80D" # iPhone 6s, iOS 10.2
# - XCODE_DESTINATION="platform=iOS Simulator,name=iPhone 6s,OS=10.2"
# - XCODE_PLAYGROUND_TARGET="x86_64-apple-ios9.3"
# - PLAYGROUND="ReactiveCocoa-iOS.playground"
- xcode_scheme: ReactiveCocoa-tvOS
env:
- XCODE_SDK=appletvsimulator
- XCODE_ACTION="build-for-testing test-without-building"
- XCODE_DESTINATION="platform=tvOS Simulator,name=Apple TV 1080p"
# - XCODE_PLAYGROUND_TARGET="x86_64-apple-tvos9.3"
# - PLAYGROUND="ReactiveCocoa-tvOS.playground"
- xcode_scheme: ReactiveCocoa-watchOS
env:
- XCODE_SDK=watchsimulator
- XCODE_ACTION=build
- XCODE_DESTINATION="platform=watchOS Simulator,name=Apple Watch - 38mm"
- script:
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage build --no-skip-current --platform mac
env:
- JOB=CARTHAGE-macOS
- script:
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage build --no-skip-current --platform iOS
env:
- JOB=CARTHAGE-iOS
- script:
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage build --no-skip-current --platform tvOS
env:
- JOB=CARTHAGE-tvOS
- script:
- brew update
- brew outdated carthage || brew upgrade carthage
- carthage build --no-skip-current --platform watchOS
env:
- JOB=CARTHAGE-watchOS
- script:
- gem install cocoapods
- pod repo update --silent
- pod lib lint --allow-warnings
env:
- JOB=PODSPEC
notifications:
email: false
slack:
secure: C9QTry5wUG9CfeH3rm3Z19R5rDWqDO7EhHAqHDXBxT6CpGRkTPFliJexpjBYB4sroJ8CiY5ZgTI2sjRBiAdGoE5ZQkfnwSoKQhWXkwo19TnbSnufr3cKO2SZkUhBqOlZcA+mgfjZ7rm2wm7RhpCR/4z8oBXDN4/xv0U5R2fLCLE=