osx_image: xcode8.2
language: objective-c
cache: bundler
rvm:
  - 2.3.1

before_install:
  - gem install xcpretty -N --no-ri --no-rdoc
  - gem install cocoapods -v '1.2.0' -N --no-ri --no-rdoc

script:
  - set -o pipefail
  - xcodebuild test -workspace Example/Delirium.xcworkspace -scheme Delirium-Example -destination "platform=iOS Simulator,name=iPhone 7" | xcpretty

deploy:
  skip_cleanup: true
  provider: script
  script: 'PATH="${TRAVIS_BUILD_DIR}/bin:$PATH" pod trunk push'
  on:
    tags: true
    branch: master

osx_image: xcode8.2
language: objective-c
cache: bundler
rvm:
  - 2.3.1

before_install:
  - gem install xcpretty -N --no-ri --no-rdoc
  - gem install cocoapods -v '1.2.0' -N --no-ri --no-rdoc

script:
  - set -o pipefail
  - xcodebuild test -workspace Example/Delirium.xcworkspace -scheme Delirium-Example -destination 'platform=iOS Simulator,name=iPad Air 2,OS=10.2' | xcpretty

deploy:
  skip_cleanup: true
  provider: script
  script: 'PATH="${TRAVIS_BUILD_DIR}/bin:$PATH" pod trunk push'
  on:
    tags: true
    branch: master

Use a fixed simulator for Travis.
Use a fixed simulator for Travis.
