# reference: http://www.objc.io/issue-6/travis-ci.html

# whitelist
branches:
  only:
    - master
language: objective-c
osx_image: xcode7.2
env:
    matrix:
    - OS='8.4' name='iPhone 6'
    - OS='9.2' name='iPhone 6'
    
before_install:
    - gem install cocoapods -v '0.39.0'
    - gem install xcpretty
before_script: pod lib lint --verbose --allow-warnings
script:
- xcodebuild clean test -destination "platform=iOS Simulator,OS=$OS,name=$name" -workspace Example/PINRemoteImage.xcworkspace -scheme PINRemoteImage ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty

# reference: http://www.objc.io/issue-6/travis-ci.html

# whitelist
branches:
  only:
    - master
language: objective-c
osx_image: xcode7.2
env:
    matrix:
    - OS='8.4' name='iPhone 6'
    - OS='latest' name='iPhone 6'
    
before_install:
    - gem install cocoapods -v '0.39.0'
    - gem install xcpretty
before_script: pod lib lint --verbose --allow-warnings
script:
    - xcodebuild clean test -destination "platform=iOS Simulator,OS=$OS,name=$name" -workspace Example/PINRemoteImage.xcworkspace -scheme PINRemoteImage ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO | xcpretty

Switch to latest instead of 9.2
Switch to latest instead of 9.2
