forked from antitypical/Result
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (51 loc) · 1.58 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
branches:
only:
- master
matrix:
include:
- 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 1080p" | xcpretty
- xcodebuild build -scheme Result-watchOS -sdk watchsimulator | xcpretty
- pod lib lint
env:
- JOB=Xcode
- XCODE_ACTION="build-for-testing test-without-building"
os: osx
osx_image: xcode9
language: objective-c
- script:
- swift --version
- swift build
- swift test
env: JOB=SPM
os: osx
osx_image: xcode9
language: objective-c
- script:
- swift --version
- swift build
- swift test
env:
- JOB=Linux
sudo: required
dist: trusty
language: generic
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
- script:
- swift --version
- swift build
- swift test
env:
- JOB=Linux
- SWIFT_VERSION=4.0-DEVELOPMENT-SNAPSHOT-2017-09-26-a
sudo: required
dist: trusty
language: generic
install:
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
notifications:
email: false