language: objective-c
osx_image: xcode8
sudo: false
env:
  global:
  - LC_CTYPE=en_US.UTF-8
  - LANG=en_US.UTF-8
  - FASTLANE_LANE=ci_commit
matrix:
  include:
    - osx_image: xcode8
      env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default
    - osx_image: xcode8
      env: FASTLANE_ENV=ios93
    - osx_image: xcode8
      env: FASTLANE_ENV=tvos92
    - osx_image: xcode8
      env: FASTLANE_ENV=osx
before_install:
  - make install
script:
  - set -o pipefail
  - bundle exec fastlane $FASTLANE_LANE configuration:Debug --env $FASTLANE_ENV
  - bundle exec fastlane $FASTLANE_LANE configuration:Release --env $FASTLANE_ENV
after_success:
  - if [ "$FASTLANE_LANE" == "code_coverage" ]; then
     make post_coverage;
    fi

language: objective-c
osx_image: xcode8
sudo: false
env:
  global:
  - LC_CTYPE=en_US.UTF-8
  - LANG=en_US.UTF-8
  - FASTLANE_LANE=ci_commit
matrix:
  include:
    - osx_image: xcode8
      env: FASTLANE_LANE=code_coverage FASTLANE_ENV=default
    - osx_image: xcode8
      env: FASTLANE_ENV=ios93
    - osx_image: xcode8
      env: FASTLANE_ENV=tvos92
    - osx_image: xcode8
      env: FASTLANE_ENV=osx
before_install:
  - make install
script:
  - export FASTLANE_EXPLICIT_OPEN_SIMULATOR=1
  - set -o pipefail
  - bundle exec fastlane $FASTLANE_LANE configuration:Debug --env $FASTLANE_ENV
  - bundle exec fastlane $FASTLANE_LANE configuration:Release --env $FASTLANE_ENV
after_success:
  - if [ "$FASTLANE_LANE" == "code_coverage" ]; then
     make post_coverage;
    fi

Set FASTLANE_EXPLICIT_OPEN_SIMULATOR to work around simulator connection problems
Set FASTLANE_EXPLICIT_OPEN_SIMULATOR to work around simulator connection problems
