-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (32 loc) · 957 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
26
27
28
29
30
31
32
33
34
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
osx_image: xcode7.2
#xcode_workspace: Example/Example.xcworkspace
#xcode_scheme: Example
#cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
- pod install --project-directory=Example
- brew update
- brew uninstall xctool && brew install --HEAD xctool
script:
xctool
-workspace Example/Example.xcworkspace
-scheme Example
-sdk iphonesimulator
-destination 'platform=iOS Simulator,name=iPhone 6 Plus'
build
test
ONLY_ACTIVE_ARCH=NO
CODE_SIGN_IDENTITY=""
CODE_SIGNING_REQUIRED=NO
#env:
# global:
# - CODE_SIGN_IDENTITY=""
# - CODE_SIGNING_REQUIRED=NO
#script:
#- set -o pipefail && xcodebuild test -workspace Example/Example.xcworkspace -scheme Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty
#- pod lib lint