-
-
Notifications
You must be signed in to change notification settings - Fork 69
/
.travis.yml
28 lines (21 loc) · 894 Bytes
/
.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
language: swift
rvm: 2.2.2
osx_image: xcode11.1
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=Example/KZFileWatchers.xcworkspace
- SCHEME=KZFileWatchers-Example
before_install:
- gem install cocoapods
- gem install xcpretty
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -destination 'name=iPhone 8,OS=13.1' ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO build | xcpretty
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" ONLY_ACTIVE_ARCH=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO build | xcpretty
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk iphonesimulator -destination 'name=iPhone 8,OS=13.1' ONLY_ACTIVE_ARCH=NO test | xcpretty
- swift build
- pod lib lint