/
.travis.yml
33 lines (29 loc) · 1011 Bytes
/
.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
osx_image: xcode10
language: objective-c
xcode_project: RxNimble.xcodeproj
xcode_scheme:
- RxNimbleRxBlocking
- RxNimbleRxTest
cache:
directories:
- $HOME/Library/Caches/org.carthage.CarthageKit/dependencies
- Carthage
before_install:
- carthageversion=$(carthage version)
- if [ $carthageversion != "0.31.2" ]; then brew uninstall carthage; HOMEBREW_NO_AUTO_UPDATE=1 brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/a85feeb75bc9e9beb7f2e9dc6e2ccc996a6aeaf5/Formula/carthage.rb; fi
jobs:
include:
- stage: prepare carthage cache
script:
- carthage bootstrap --no-use-binaries --cache-builds
- stage: carthage builds
script:
- carthage build --cache-builds --no-skip-current --platform macOS
- script:
- carthage build --cache-builds --no-skip-current --platform iOS
- script:
- carthage build --cache-builds --no-skip-current --platform tvOS
stages:
- prepare carthage cache
- test
- carthage builds