language: objective-c
osx_image: xcode7.3
sudo: false
before_install:
  - brew install carthage

cache:
  directories:
  - Carthage

script: ./Scripts/build.sh

branches:
  only:
    - master

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

language: objective-c
osx_image: xcode8
sudo: false

cache:
  directories:
  - Carthage

script: ./Scripts/build.sh

branches:
  only:
    - master

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

Switch Travis to Xcode 8
Switch Travis to Xcode 8

Summary: Closes https://github.com/facebook/WebDriverAgent/pull/282

Reviewed By: migchez

Differential Revision: D3867661

Pulled By: marekcirkos

fbshipit-source-id: 2f2d8f37fc76a915c799474ebca64c74360910ec
