language: objective-c
osx_image: xcode7.3
sudo: false
before_install:
  - brew install carthage
  - gem install xcpretty-travis-formatter

script: ./Scripts/build.sh

branches:
  only:
    - master

env:
- TARGET=WebDriverAgentLib SDK=iphonesimulator DESTINATION='iPad Air' 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

language: objective-c
osx_image: xcode7.3
sudo: false
before_install:
  - brew install carthage
  - gem install xcpretty-travis-formatter

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

Change iPad used for integration tests to iPad 2
Change iPad used for integration tests to iPad 2

Summary:
`-[FBKeyboardTests testTextTyping]` is failing on slower hosts, because text field is cleared in the middle of typing which finally causes string mismatch, when checking entered text.
This is known reported XCTest issue. Only workaround is to use simulator with smaller screen, which performs faster. In that case iPad 2

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

Reviewed By: lawrencelomax

Differential Revision: D3669325

Pulled By: marekcirkos

fbshipit-source-id: 2bc0b940d452a0cee3191de3a32249706c4d7593
