language: objective-c
osx_image: xcode8

before_install:
  - gem install xcpretty-travis-formatter

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

script:
  - xcodebuild -sdk "$TRAVIS_XCODE_SDK" -scheme "$TRAVIS_XCODE_SCHEME" -destination "$DESTINATION" test | xcpretty -f `xcpretty-travis-formatter` && 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: Snippets

language: objective-c
osx_image: xcode8

before_install:
  - gem install xcpretty-travis-formatter

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

script:
  - xcodebuild -sdk "$TRAVIS_XCODE_SDK" -scheme "$TRAVIS_XCODE_SCHEME" -destination "$DESTINATION" test | xcpretty -f `xcpretty-travis-formatter` && 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: Snippets

Make `CODE_SIGNING_REQUIRED` equal to `NO` for Travis CI
Make `CODE_SIGNING_REQUIRED` equal to `NO` for Travis CI
