This repository was archived by the owner on May 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
55 lines (55 loc) · 1.76 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
language: objective-c
cache: cocoapods
osx_image: xcode8.3
before_install:
- brew uninstall carthage
- HOMEBREW_NO_AUTO_UPDATE=1 brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/6ae4f69a652fb0ecb102b0c9216378679a4f1b92/Formula/carthage.rb # 0.22.0
branches:
only:
- master
script:
- script/build
cache:
directories: Carthage/Build
xcode_project: ReactiveCollections.xcodeproj
matrix:
include:
- stage: prepare carthage cache
script:
- carthage bootstrap --cache-builds
- stage: logic tests
xcode_scheme: ReactiveCollections-macOS
- xcode_scheme: ReactiveCollections-iOS
- xcode_scheme: ReactiveCollections-tvOS
- xcode_scheme: ReactiveCollections-watchOS
- stage: package manager tests
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
- script:
- carthage build --cache-builds --no-skip-current --platform watchOS
- script:
- pod repo update
- pod lib lint ReactiveCollections.podspec
env:
- JOB=PODSPEC
- os: osx
language: generic
script:
- swift build
- SWIFTPM_TEST_ReactiveCollections=YES swift test
env:
- JOB=SWIFTPM_DARWIN
# - os: linux
# language: generic
# sudo: required
# dist: trusty
# before_install:
# - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
# script:
# - swift build
# - SWIFTPM_TEST_ReactiveCollections=YES swift test
# env: JOB=SWIFTPM_LINUX