-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.travis.yml
66 lines (59 loc) · 1.99 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
env:
global:
- LC_CTYPE=en_US.UTF-8
matrix:
include:
- os: osx
osx_image: xcode10
language: objective-c
script:
- set -o pipefail
- xcodebuild build-for-testing test-without-building -workspace 'TryParsec.xcworkspace' -scheme 'TryParsec' -destination 'platform=OS X' ENABLE_TESTABILITY=YES | xcpretty
env:
- JOB=xcodebuild-macOS
- os: osx
osx_image: xcode10
language: objective-c
script:
- set -o pipefail
- xcodebuild build-for-testing test-without-building -workspace 'TryParsec.xcworkspace' -scheme 'TryParsec' -destination 'platform=iOS Simulator,name=iPhone 6s' ENABLE_TESTABILITY=YES | xcpretty
env:
- JOB=xcodebuild-iOS
- os: osx
osx_image: xcode10
language: objective-c
script:
- set -o pipefail
- xcodebuild build-for-testing test-without-building -workspace 'TryParsec.xcworkspace' -scheme 'TryParsec' -destination 'platform=tvOS Simulator,name=Apple TV 1080p' ENABLE_TESTABILITY=YES | xcpretty
env:
- JOB=xcodebuild-tvOS
- os: osx
osx_image: xcode10
language: objective-c
script:
- set -o pipefail
- xcodebuild build -workspace 'TryParsec.xcworkspace' -scheme 'TryParsec' -destination 'platform=watchOS Simulator,name=Apple Watch - 38mm' | xcpretty
env:
- JOB=xcodebuild-watchOS
# - os: osx
# osx_image: xcode10
# script:
# - pod lib lint --allow-warnings
# env: JOB=pod-lint
- os: osx
osx_image: xcode10
language: generic
script:
- swift build
#- swift test
env: JOB=swift-build-mac
- 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
#- swift test
env: JOB=swift-build-linux