forked from ReactiveCocoa/ReactiveCocoa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
49 lines (49 loc) · 1.74 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
language: objective-c
osx_image: xcode9.3
before_install: true
install: true
branches:
only:
- master
- /^(\d+\.\d+\.\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$/
- /^hotfix-(\d+\.\d+\.\d+)(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?$/
cache:
directories:
- $HOME/Library/Caches/org.carthage.CarthageKit/dependencies
- Carthage/Build
jobs:
include:
- stage: unit tests
osx_image: xcode9.3
script:
- XCODE_SCHEME=ReactiveCocoa-macOS
XCODE_SDK=macosx
XCODE_ACTION="build test"
XCODE_DESTINATION="arch=x86_64"
XCODE_PLAYGROUND_TARGET="x86_64-apple-macosx10.10"
PLAYGROUND="ReactiveCocoa-macOS.playground"
script/build
- XCODE_SCHEME=ReactiveCocoa-iOS
XCODE_SDK=iphonesimulator
XCODE_ACTION="build-for-testing test-without-building"
XCODE_DESTINATION="platform=iOS Simulator,name=iPhone 6s"
script/build
- XCODE_SCHEME=ReactiveCocoa-tvOS
XCODE_SDK=appletvsimulator
XCODE_ACTION="build-for-testing test-without-building"
XCODE_DESTINATION="platform=tvOS Simulator,name=Apple TV"
script/build
- XCODE_SCHEME=ReactiveCocoa-watchOS
XCODE_SDK=watchsimulator
XCODE_ACTION=build
XCODE_DESTINATION="platform=watchOS Simulator,name=Apple Watch Series 3 - 38mm"
script/build
- stage: package manager tests
script:
- gem install cocoapods
- pod repo update
- pod lib lint ReactiveCocoa.podspec
- pod lib lint ReactiveMapKit.podspec
env:
- JOB=PODSPEC
- script: carthage build --cache-builds --no-skip-current