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

language: objective-c
script:
- xctool test -workspace Example/PINRemoteImage.xcworkspace -scheme PINRemoteImage -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO

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

# whitelist
branches:
  only:
    - master
language: objective-c
env:
    matrix:
    - TEST_SDK=iphonesimulator7.0
    - TEST_SDK=iphonesimulator7.1
    - TEST_SDK=iphonesimulator8.1
script:
- xctool test -test-sdk $TEST_SDK -simulator iphone -workspace Example/PINRemoteImage.xcworkspace -scheme PINRemoteImage ONLY_ACTIVE_ARCH=NO

Add Travis tests for older SDKs. Only build master.
Add Travis tests for older SDKs. Only build master.
