-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.travis.yml
22 lines (21 loc) · 831 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
# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage
language: objective-c
#xcode_workspace: Example/GlyuckDataGrid.xcworkspace
#xcode_scheme: GlyuckDataGrid-Example
cache: cocoapods
podfile: Example/Podfile
osx_image: xcode8
before_install:
- |
BUNDLE_GEMFILE=Example/Gemfile bundle install
BUNDLE_GEMFILE=Example/Gemfile bundle exec pod repo update
BUNDLE_GEMFILE=Example/Gemfile bundle exec pod install --project-directory=Example
install:
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- xcodebuild test -workspace Example/GlyuckDataGrid.xcworkspace -scheme GlyuckDataGrid-Example -sdk iphonesimulator10.0 -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.0' | xcpretty