language: objective-c
osx_image: xcode8
xcode_workspace: ReceptionKit.xcworkspace
xcode_scheme: ReceptionKit

install:
  - ./Scripts/install_swiftlint.sh

# Temporarily disable xctool: https://github.com/travis-ci/travis-ci/issues/3986
# xcodebuild runs swiftlint automatically
script:
#  - swiftlint
#  - xctool test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro'
  - set -o pipefail && xcodebuild test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -destination 'platform=iOS Simulator,name=iPad Pro (12.9 inch)' | xcpretty

language: objective-c
osx_image: xcode9
xcode_workspace: ReceptionKit.xcworkspace
xcode_scheme: ReceptionKit

install:
  - ./Scripts/install_swiftlint.sh

# Temporarily disable xctool: https://github.com/travis-ci/travis-ci/issues/3986
# xcodebuild runs swiftlint automatically
script:
#  - swiftlint
#  - xctool test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPad Pro'
  - set -o pipefail && xcodebuild test -workspace ReceptionKit.xcworkspace -scheme ReceptionKit -destination 'platform=iOS Simulator,name=iPad Pro (12.9 inch)' | xcpretty

Update Travis config to use Xcode 9
Update Travis config to use Xcode 9
