# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode8
language: objective-c
xcode_sdk: iphonesimulator10.0
# 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/GearKit.xcworkspace -scheme GearKit-Example -sdk iphonesimulator10.0 -destination 'platform=iOS Simulator,name=iPhone 6s Plus,OS=10.1' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint

# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

osx_image: xcode8
language: objective-c
xcode_sdk: iphonesimulator10.0

before_install:
  - gem install cocoapods -v '1.1.1'

# 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/GearKit.xcworkspace -scheme GearKit-Example -sdk iphonesimulator10.0 -destination 'platform=iOS Simulator,name=iPhone 6s Plus,OS=10.1' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint

Make sure we have the proper cocoapods installed before launch.
Make sure we have the proper cocoapods installed before launch.
