This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
forked from antitypical/Result
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
70 lines (68 loc) · 2.09 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
branches:
only:
- master
matrix:
include:
- name: CocoaPods Lint
script:
- gem update cocoapods && rm .swift-version && pod lib lint
os: osx
osx_image: xcode10.1
language: objective-c
- &xcode
name: Xcode 9.2 / Swift 4.0
script:
- set -o pipefail
- xcodebuild $XCODE_ACTION -scheme Result-Mac | xcpretty
- xcodebuild $XCODE_ACTION -scheme Result-iOS -sdk iphonesimulator -destination "name=iPhone SE" | xcpretty
- xcodebuild $XCODE_ACTION -scheme Result-tvOS -sdk appletvsimulator -destination "name=Apple TV" | xcpretty
- xcodebuild build -scheme Result-watchOS -sdk watchsimulator | xcpretty
env:
- XCODE_ACTION="build-for-testing test-without-building"
os: osx
osx_image: xcode9.2
language: objective-c
- <<: *xcode
name: Xcode 9.3 / Swift 4.1
osx_image: xcode9.3
- <<: *xcode
name: Xcode 10.1 / Swift 4.2
osx_image: xcode10.1
- <<: *xcode
name: Xcode 10.2 / Swift 5.0
osx_image: xcode10.2
- &swiftpm_darwin
name: SwiftPM / Darwin / Swift 4.0
script:
- swift --version
- swift build
- swift test
env: JOB=SPM
os: osx
osx_image: xcode9.2
language: objective-c
- <<: *swiftpm_darwin
name: SwiftPM / Darwin / Swift 4.1
osx_image: xcode9.3
- <<: *swiftpm_darwin
name: SwiftPM / Darwin / Swift 4.2
osx_image: xcode10.1
- <<: *swiftpm_darwin
name: SwiftPM / Darwin / Swift 5.0
osx_image: xcode10.2
- &swiftpm_linux
name: SwiftPM / Linux / Swift 4.2
script:
- swift --version
- swift build
- swift test
sudo: required
dist: trusty
language: generic
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
- <<: *swiftpm_linux
name: SwiftPM / Linux / Swift 5.0 Development
env: SWIFT_VERSION=5.0-DEVELOPMENT-SNAPSHOT-2019-02-28-a
notifications:
email: false