-
-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy path.travis.yml
More file actions
14 lines (13 loc) · 661 Bytes
/
.travis.yml
File metadata and controls
14 lines (13 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode10.1
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
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/MSPeekCollectionViewDelegateImplementation.xcworkspace -scheme MSPeekCollectionViewDelegateImplementation-Example -sdk iphonesimulator12.1 -destination 'platform=iOS Simulator,OS=12.1,name=iPhone 8' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint