language: objective-c
osx_image: xcode8
env:
  global:
  - SCHEME="Overlay"
  - TEST_SCHEME="Tests"
  - SDK=iphonesimulator
  matrix:
    - DESTINATION="OS=9.0,name=iPhone 6s"
    - DESTINATION="OS=9.1,name=iPhone 6s"
    - DESTINATION="OS=9.2,name=iPhone 6s"
    - DESTINATION="OS=9.3,name=iPhone 6s"
    - DESTINATION="OS=10.0,name=iPhone 6s"
script:
  - set -o pipefail
  - xcodebuild test -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug | xcpretty -c
  - xcodebuild test -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release | xcpretty -c

language: objective-c
osx_image: xcode8
env:
  global:
  - SCHEME="Overlay"
  - SDK=iphonesimulator
  matrix:
    - DESTINATION="OS=9.0,name=iPhone 6s"
    - DESTINATION="OS=9.1,name=iPhone 6s"
    - DESTINATION="OS=9.2,name=iPhone 6s"
    - DESTINATION="OS=9.3,name=iPhone 6s"
    - DESTINATION="OS=10.0,name=iPhone 6s"
script:
  - set -o pipefail
  - xcodebuild test -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ENABLE_TESTABILITY=YES | xcpretty -c
  - xcodebuild test -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Release ENABLE_TESTABILITY=YES | xcpretty -c

Enable testability flag for Travis
Enable testability flag for Travis
