# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

language: objective-c
osx_image: xcode9.1

env:
  - DESTINATION='platform=iOS Simulator,name=iPad Air'
  - DESTINATION='platform=iOS Simulator,name=iPad Air 2'
  - DESTINATION='platform=iOS Simulator,name=iPad Pro (9.7-inch)'
  - DESTINATION='platform=iOS Simulator,name=iPad Pro (12.9-inch)'
  - DESTINATION='platform=iOS Simulator,name=iPad Retina'
  - DESTINATION='platform=iOS Simulator,name=iPhone 5'
  - DESTINATION='platform=iOS Simulator,name=iPhone 5s'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6 Plus'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6s'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6s Plus'
  - DESTINATION='platform=iOS Simulator,name=iPhone SE'
  - DESTINATION='platform=iOS Simulator,name=iPhone 7'
  - DESTINATION='platform=iOS Simulator,name=iPhone 7 Plus'

script:
  - set -o pipefail && xcodebuild -project SMDatePicker.xcodeproj -scheme SMDatePicker -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO clean | xcpretty

# references:
# * http://www.objc.io/issue-6/travis-ci.html
# * https://github.com/supermarin/xcpretty#usage

language: objective-c
osx_image: xcode11.3

env:
  - DESTINATION='platform=iOS Simulator,name=iPad Air'
  - DESTINATION='platform=iOS Simulator,name=iPad Air 2'
  - DESTINATION='platform=iOS Simulator,name=iPad Pro (9.7-inch)'
  - DESTINATION='platform=iOS Simulator,name=iPad Pro (12.9-inch)'
  - DESTINATION='platform=iOS Simulator,name=iPad Retina'
  - DESTINATION='platform=iOS Simulator,name=iPhone 5'
  - DESTINATION='platform=iOS Simulator,name=iPhone 5s'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6 Plus'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6s'
  - DESTINATION='platform=iOS Simulator,name=iPhone 6s Plus'
  - DESTINATION='platform=iOS Simulator,name=iPhone SE'
  - DESTINATION='platform=iOS Simulator,name=iPhone 7'
  - DESTINATION='platform=iOS Simulator,name=iPhone 7 Plus'

script:
  - set -o pipefail && xcodebuild -project SMDatePicker.xcodeproj -scheme SMDatePicker -destination "$DESTINATION" ONLY_ACTIVE_ARCH=NO clean | xcpretty

Update Travis CI Xcode to 11.3
Update Travis CI Xcode to 11.3
