language: objective-c
osx_image: xcode8

before_install:
  - gem install xcpretty

  # Install dependent pods during Travis integration. Updates the CocoaPods repo
  # first. Installing does not update the repo by default.
  - pod install --repo-update

env:
  matrix:
    - DESTINATION="name=iPhone 6s"

script:
  - xcodebuild -sdk "$TRAVIS_XCODE_SDK" -workspace "$TRAVIS_XCODE_WORKSPACE.xcworkspace" -scheme "$TRAVIS_XCODE_SCHEME" -destination "$DESTINATION" test | xcpretty && exit ${PIPESTATUS[0]}

# Important to specify the simulator SDK, otherwise Travis CI will attempt to
# build for the real iPhone and fail due to code-signing issues.
# See https://docs.travis-ci.com/user/languages/objective-c for details.
xcode_sdk: iphonesimulator

xcode_scheme: FaradayHAL

xcode_workspace: FaradayHAL

language: objective-c
osx_image: xcode8.2

before_install:
  - gem install xcpretty

  # Install dependent pods during Travis integration. Updates the CocoaPods repo
  # first. Installing does not update the repo by default.
  - pod install --repo-update

env:
  matrix:
    - DESTINATION="name=iPhone 6s"

script:
  - xcodebuild -sdk "$TRAVIS_XCODE_SDK" -workspace "$TRAVIS_XCODE_WORKSPACE.xcworkspace" -scheme "$TRAVIS_XCODE_SCHEME" -destination "$DESTINATION" test | xcpretty && exit ${PIPESTATUS[0]}

# Important to specify the simulator SDK, otherwise Travis CI will attempt to
# build for the real iPhone and fail due to code-signing issues.
# See https://docs.travis-ci.com/user/languages/objective-c for details.
xcode_sdk: iphonesimulator

xcode_scheme: FaradayHAL

xcode_workspace: FaradayHAL

Use Travis Xcode 8.2 image
Use Travis Xcode 8.2 image
