language: objective-c
osx_image: xcode7.3
sudo: false

cache:
  directories:
  - Carthage

script: ./Scripts/build.sh

branches:
  only:
    - master

env:
- TARGET=WebDriverAgentLib SDK=iphonesimulator ACTION=test DESTINATION='iPad Air 2' IOS='9.3'
- TARGET=WebDriverAgentLib SDK=iphonesimulator ACTION=test DESTINATION='iPhone 6' IOS='9.3'
- TARGET=WebDriverAgentRunner SDK=iphonesimulator ACTION=build
- TARGET=WebDriverAgentRunner SDK=iphoneos ACTION=build
- TARGET=WebDriverAgentUSBClient SDK=macosx ACTION=build

language: objective-c
osx_image: xcode8.1
sudo: false

cache:
  directories:
  - Carthage

script: ./Scripts/build.sh

branches:
  only:
    - master

env:
- TARGET=WebDriverAgentLib SDK=iphonesimulator ACTION=test DESTINATION='iPad Air 2' IOS='10.1'
- TARGET=WebDriverAgentLib SDK=iphonesimulator ACTION=test DESTINATION='iPhone SE' IOS='10.1'
- TARGET=WebDriverAgentRunner SDK=iphonesimulator ACTION=build
- TARGET=WebDriverAgentRunner SDK=iphoneos ACTION=build
- TARGET=WebDriverAgentUSBClient SDK=macosx ACTION=build

Switch Travis to new Xcode
Switch Travis to new Xcode

Summary:
Travis enabled new Xcode, so lets switch to it.

Closes https://github.com/facebook/WebDriverAgent/pull/385

Reviewed By: lawrencelomax

Differential Revision: D4253540

Pulled By: marekcirkos

fbshipit-source-id: 665cbb0e9a25fbd5eddc92a98bee47f2fea8a606
