-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
19 lines (16 loc) · 813 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
language: swift
osx_image: xcode10.2
# podfile: Example/Podfile
# xcode_workspace: Example/BottomKeyboardConstraint.xcworkspace # path to your xcworkspace folder
# xcode_scheme: BottomKeyboardConstraint-Example
# xcode_destination: platform=iOS Simulator,OS=11.0,name=iPhone Xs
# cache: cocoapods
before_install:
- 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/BottomKeyboardConstraint.xcworkspace -scheme BottomKeyboardConstraint-Example -destination 'platform=iOS Simulator,name=iPhone Xs' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint