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

osx_image: xcode8.2
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods --no-document
- gem install xcpretty --no-document
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/NumericPicker.xcworkspace -scheme NumericPicker-Example -sdk iphonesimulator9.3 -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.3' 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.2
language: objective-c
cache: cocoapods
podfile: Example/Podfile
before_install:
- gem install cocoapods --no-document
- gem install xcpretty --no-document
- pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -workspace Example/NumericPicker.xcworkspace -scheme NumericPicker-Example -sdk iphonesimulator10.2 -destination 'platform=iOS Simulator,name=iPhone 4s,OS=9.3' ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint

Change Travis CI YAML file to prevent build issues
Change Travis CI YAML file to prevent build issues
