-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
31 lines (28 loc) · 1.32 KB
/
.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
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode8.2
language: objective-c
env:
- DESTINATION='platform=iOS Simulator,name=iPad Air'
- DESTINATION='platform=iOS Simulator,name=iPad Air 2'
- DESTINATION='platform=iOS Simulator,name=iPad Pro (9.7 inch)'
- DESTINATION='platform=iOS Simulator,name=iPad Pro (12.9 inch)'
- DESTINATION='platform=iOS Simulator,name=iPad Retina'
- DESTINATION='platform=iOS Simulator,name=iPhone 5'
- DESTINATION='platform=iOS Simulator,name=iPhone 5s'
- DESTINATION='platform=iOS Simulator,name=iPhone 6'
- DESTINATION='platform=iOS Simulator,name=iPhone 6 Plus'
- DESTINATION='platform=iOS Simulator,name=iPhone 6s'
- DESTINATION='platform=iOS Simulator,name=iPhone 6s Plus'
- DESTINATION='platform=iOS Simulator,name=iPhone SE'
- DESTINATION='platform=iOS Simulator,name=iPhone 7'
- DESTINATION='platform=iOS Simulator,name=iPhone 7 Plus'
# 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 -workspace Example/HDNTextField.xcworkspace -scheme HDNTextField-Example -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint