forked from antitypical/Result
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (33 loc) · 1.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
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: xcode8
language: objective-c
- script:
- swift build
- swift test
env: JOB=SPM
os: osx
osx_image: xcode8
language: objective-c
- script:
- 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)"
notifications:
email: false