-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
17 lines (16 loc) · 814 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode11.3
language: swift
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
xcode_project: Example/AnchoredBottomSheet.xcodeproj # path to your xcodeproj folder
xcode_scheme: AnchoredBottomSheet-Example
xcode_destination: platform=iOS Simulator,OS=13.2,name=iPad Pro (9.7-inch)
script:
- set -o pipefail && xcodebuild -destination "platform=iOS Simulator,OS=13.3,name=iPad Pro (9.7-inch)" -workspace Example/AnchoredBottomSheet.xcworkspace -scheme AnchoredBottomSheet-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint --allow-warnings