-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
25 lines (22 loc) · 891 Bytes
/
.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
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
# * https://docs.travis-ci.com/user/languages/objective-c/
language: objective-c
osx_image: xcode11.4
# path to your xcodeproj folder
# xcode_workspace: Example/HDBaseProject.xcworkspace
# xcode_scheme: HDBaseProject-Example
# xcode_destination: platform=iOS Simulator,OS=11.3,name=iPhone X
# podfile: path/to/Podfile
# install: make get-deps
# cache: cocoapods
# podfile: Example/Podfile
# before_install:
# - gem install cocoapods # Since Travis is not always on latest version
# - pod install --project-directory=Example
# install:
# - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- xcodebuild test -workspace Example/HDBaseProject.xcworkspace -scheme HDBaseProject-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
- pod lib lint --quick