forked from syngenta/ScrollSegmentsSwift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (25 loc) · 1.08 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
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode 9.3
language: swift
cache: cocoapods
podfile: Example/Podfile
before_install:
- brew install ios_sim
- cd Example
- pod install --repo-update
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
script: xcodebuild clean build test -workspace Example/ScrollSegmentsSwift.xcworkspace -scheme "CI" -sdk iphonesimulator -destination "platform=iOS Simulator,OS=12.1,name=iPhone 7" ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
#- brew install ios_sim
#- cd Example
#- pod install --repo-update
#- gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
#script:
#- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/#ScrollSegmentsSwift.xcworkspace -scheme ScrollSegmentsSwift-Example -sdk #iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
#- pod lib lint