-
Notifications
You must be signed in to change notification settings - Fork 28
/
.travis.yml
16 lines (15 loc) · 1011 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode11.4
language: objective-c
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/JJCollectionViewRoundFlowLayout.xcworkspace -scheme JJCollectionViewRoundFlowLayout-Example | xcpretty
#- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/JJCollectionViewRoundFlowLayout.xcworkspace -scheme JJCollectionViewRoundFlowLayout-Example -sdk iphonesimulator11.4 ONLY_ACTIVE_ARCH=NO | xcpretty
- set -o pipefail && xcodebuild -workspace Example/JJCollectionViewRoundFlowLayout.xcworkspace -scheme JJCollectionViewRoundFlowLayout-Example -destination 'platform=iOS Simulator,name=iPhone 6s,OS=10.3.1' ONLY_ACTIVE_ARCH=NO | xcpretty -c
- pod lib lint